Project Date
CLARO SCORE V3 06 Dec 2024, 13:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
claroscore/features/Motor.feature 4425 58 0 0 0 4483 293 58 351 6:11.305 Failed
Feature claroscore/features/Motor.feature
Evaluaciones de Claro Score V3
0.008
* url apiURL 0.002
13:16:13.368 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.092
Given path '/engine/evaluations' 0.000
And request requestBody 0.000
When method POST 2.091
13:16:13.380 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "55103135-173c-49cf-b727-d465568f8af0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.468 response time in milliseconds: 2086
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:15",
  "timestamp": 1733512575,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "55103135-173c-49cf-b727-d465568f8af0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125742946378904976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:13.741 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.132
Scenario Validar JSON transaction_id
Steps
* def tramaMinima = 0.000
{
      "transaction_id": uuid
    }
Given path '/engine/evaluations' 0.000
And request tramaMinima 0.000
When method POST 0.132
13:16:13.747 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 25
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "uuid"
}


13:16:13.875 response time in milliseconds: 126
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:24 GMT
1 < Content-Type: application/json
1 < Content-Length: 126
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:14",
  "timestamp": 1733512574,
  "message": "invalid commerce id"
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 126, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:14","timestamp":1733512574,"message":"invalid commerce id"}

classpath:claroscore/features/Motor.feature:30
13:16:13.879 classpath:claroscore/features/Motor.feature:30
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 126, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:14","timestamp":1733512574,"message":"invalid commerce id"}

classpath:claroscore/features/Motor.feature:30
0.002
* url apiURL 0.000
13:16:13.885 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.254
Scenario Validar JSON commerce_id
Steps
* def tramaMinima = 0.000
{
      "transaction_id": uuid,
      "commerce_id": 2
    }
Given path '/engine/evaluations' 0.000
And request tramaMinima 0.000
When method POST 0.254
13:16:13.889 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 41
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "uuid",
  "commerce_id": 2
}


13:16:14.142 response time in milliseconds: 250
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:24 GMT
1 < Content-Type: application/json
1 < Content-Length: 215
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:14",
  "timestamp": 1733512574,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "id": "cannot be blank"
    },
    "purchase": {
      "id": "cannot be blank"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 250, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:14","timestamp":1733512574,"message":"invalid transaction request","errors":{"client":{"id":"cannot be blank"},"purchase":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:44
13:16:14.143 classpath:claroscore/features/Motor.feature:44
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 250, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:14","timestamp":1733512574,"message":"invalid transaction request","errors":{"client":{"id":"cannot be blank"},"purchase":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:44
0.002
* url apiURL 0.000
13:16:14.078 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.197
Scenario Validar JSON request Minima
Steps
* def tramaMinima = 0.000
{
      "transaction_id": "9dc4da8e-4f6b-473b-9992-f8c1788b5275",
      "commerce_id": 2,
     
      "purchase": {
          "id": "pedido.1342006618",
          "created": "2024-11-07T19:36:25-06:00",
   
          "items": [
              {                                
              }
          ]
      },
      "client": {
          "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    
          "phone": {
             
          },
          "address": {         
            
          }
      },
      "payment_method": {
  
          "address": {           
              
          }
      },
      "merchant": {
        
      }
  }
Given path '/engine/evaluations' 0.000
And request tramaMinima 0.000
When method POST 1.197
13:16:14.086 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 287
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9dc4da8e-4f6b-473b-9992-f8c1788b5275",
  "commerce_id": 2,
  "purchase": {
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "items": [
      {
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "phone": {
    },
    "address": {
    }
  },
  "payment_method": {
    "address": {
    }
  },
  "merchant": {
  }
}


13:16:15.277 response time in milliseconds: 1189
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:25 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:15",
  "timestamp": 1733512575,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9dc4da8e-4f6b-473b-9992-f8c1788b5275",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1189, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:15","timestamp":1733512575,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"9dc4da8e-4f6b-473b-9992-f8c1788b5275","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:86
13:16:15.282 classpath:claroscore/features/Motor.feature:86
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1189, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:15","timestamp":1733512575,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"9dc4da8e-4f6b-473b-9992-f8c1788b5275","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:86
0.004
* url apiURL 0.000
13:16:14.164 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.774
* def peticion = requestBody 0.000
* set peticion.transaction_id = '#(java.util.UUID.randomUUID().toString())' 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.770
13:16:14.187 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "#(java.util.UUID.randomUUID().toString())",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.943 response time in milliseconds: 1753
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "#(java.util.UUID.randomUUID().toString())",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125748906379304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "95",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:16:14.666 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.835
Scenario Outline Validate transaction_id
Steps
* def peticion = requestBody 0.000
* set peticion.transaction_id = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.833
13:16:14.678 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1518
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "12345",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:16.505 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "12345",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125754286939504982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:16","timestamp":1733512576,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"12345","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125754286939504982","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"96","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:95
13:16:16.507 classpath:claroscore/features/Motor.feature:95
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:16","timestamp":1733512576,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"12345","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125754286939504982","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"96","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:95
0.001
* url apiURL 0.000
13:16:14.669 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.298
* def peticion = requestBody 0.000
* set peticion.transaction_id = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.296
13:16:14.677 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1513
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:14.969 response time in milliseconds: 289
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:25 GMT
1 < Content-Type: application/json
1 < Content-Length: 180
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:15",
  "timestamp": 1733512575,
  "message": "invalid transaction request",
  "errors": {
    "transaction_id": "cannot be blank"
  }
}


Then status 400 0.000
0.010
* url apiURL 0.000
13:16:15.010 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.001
0.524
* def peticion = requestBody 0.000
* set peticion.transaction_id = null 0.009
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.514
13:16:15.038 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1515
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": null,
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.547 response time in milliseconds: 507
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 180
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:15",
  "timestamp": 1733512575,
  "message": "invalid transaction request",
  "errors": {
    "transaction_id": "cannot be blank"
  }
}


Then status 400 0.000
0.005
* url apiURL 0.000
13:16:15.299 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.432
Scenario Outline Validate transaction_id
Steps
* def peticion = requestBody 0.000
* set peticion.transaction_id = "invalid-uuid-format" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.430
13:16:15.322 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1532
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "invalid-uuid-format",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:17.742 response time in milliseconds: 2410
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:18",
  "timestamp": 1733512578,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "invalid-uuid-format",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125760416083704979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2410, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:18","timestamp":1733512578,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"invalid-uuid-format","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125760416083704979","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:95
13:16:17.746 classpath:claroscore/features/Motor.feature:95
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2410, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:18","timestamp":1733512578,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"invalid-uuid-format","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125760416083704979","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:95
0.002
* url apiURL 0.000
13:16:15.484 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.902
* def peticion = requestBody 0.000
* set peticion.commerce_id = 2 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.899
13:16:15.499 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "20130f67-54d8-460e-9667-8f9b3fae82f1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:17.390 response time in milliseconds: 1888
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:17",
  "timestamp": 1733512577,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "20130f67-54d8-460e-9667-8f9b3fae82f1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335125763286947804978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.007
* url apiURL 0.003
13:16:15.556 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.116
* def peticion = requestBody 0.000
* set peticion.commerce_id = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.115
13:16:15.571 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1591
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2c8a0175-c381-4d5e-bc94-5ab5bf63ae9e",
  "commerce_id": "#(java.util.UUID.randomUUID().toString())",
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.678 response time in milliseconds: 90
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:15",
  "timestamp": 1733512575,
  "message": "invalid body request"
}


Then status 400 0.000
0.012
* url apiURL 0.000
13:16:15.692 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.009
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.088
* def peticion = requestBody 0.000
* set peticion.commerce_id = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.086
13:16:15.713 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "029091a2-d4ed-40d5-995d-53224271c4cb",
  "commerce_id": "12345",
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.794 response time in milliseconds: 78
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "message": "invalid body request"
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:16:15.803 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.100
* def peticion = requestBody 0.000
* set peticion.commerce_id = "" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.097
13:16:15.820 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3ab1b735-442b-4284-a997-b72623d2f1cc",
  "commerce_id": "",
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:15.908 response time in milliseconds: 86
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:15.915 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.135
* def peticion = requestBody 0.000
* set peticion.commerce_id = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.135
13:16:15.923 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ebab5b25-2d33-43f9-aee0-c8521145b795",
  "commerce_id": null,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:16.052 response time in milliseconds: 126
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 126
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "message": "invalid commerce id"
}


Then status 400 0.000
0.016
* url apiURL 0.000
13:16:15.996 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.009
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.000
0.116
* def peticion = requestBody 0.006
* set peticion.commerce_id = "2" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.106
13:16:16.053 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b47ebe7f-5a77-4a53-bdd8-477442a04784",
  "commerce_id": "2",
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:16.136 response time in milliseconds: 80
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:16.058 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.488
* def peticion = requestBody 0.000
* set peticion.request.ipv4 = "124.9.51.123" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.487
13:16:16.092 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ffafc16b-e92c-459b-9e4d-4939c29606ad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:18.549 response time in milliseconds: 2456
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:18",
  "timestamp": 1733512578,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ffafc16b-e92c-459b-9e4d-4939c29606ad",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125769236739104980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:16.150 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.350
* def peticion = requestBody 0.000
* set peticion.request.ipv4 = '#(java.util.UUID.randomUUID().toString())' 0.011
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.338
13:16:16.180 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1578
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c0fa7077-74f1-4c9b-97a4-9686622be40a",
  "commerce_id": 2,
  "request": {
    "ipv4": "#(java.util.UUID.randomUUID().toString())",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:16.505 response time in milliseconds: 323
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:27 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:16",
  "timestamp": 1733512576,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv4": "must be a valid IPv4 address"
    }
  }
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:16.513 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.290
* def peticion = requestBody 0.000
* set peticion.request.ipv4 = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.289
13:16:16.528 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1542
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "938a97b7-83ca-4f38-8f10-40a00aa9ab8f",
  "commerce_id": 2,
  "request": {
    "ipv4": "12345",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:16.811 response time in milliseconds: 281
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:27 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:17",
  "timestamp": 1733512577,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv4": "must be a valid IPv4 address"
    }
  }
}


Then status 400 0.000
0.007
* url apiURL 0.000
13:16:16.513 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.746
* def peticion = requestBody 0.000
* set peticion.request.ipv4 = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.744
13:16:16.541 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1537
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00f5cae2-3c0b-4ea9-a9d0-52968d25276d",
  "commerce_id": 2,
  "request": {
    "ipv4": "",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:18.267 response time in milliseconds: 1723
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:18",
  "timestamp": 1733512578,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "00f5cae2-3c0b-4ea9-a9d0-52968d25276d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125773096034204987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "42",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for review.",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "PENDING_REVIEW"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:16:16.822 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.445
* def peticion = requestBody 0.000
* set peticion.request.ipv4 = null 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.441
13:16:16.839 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1539
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4c99dc46-21d9-4abb-b563-bf6ea27c5959",
  "commerce_id": 2,
  "request": {
    "ipv4": null,
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.271 response time in milliseconds: 2429
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:19",
  "timestamp": 1733512579,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4c99dc46-21d9-4abb-b563-bf6ea27c5959",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125781466481704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "42",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for review.",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "PENDING_REVIEW"
  }
}


Then status 200 0.000
0.023
* url apiURL 0.000
13:16:17.398 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.009
* def baseJson = read('data/base.json') 0.007
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.000
0.311
* def peticion = requestBody 0.005
* set peticion.request.ipv4 = "2" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.304
13:16:17.438 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7ec6c06c-f335-4a86-af7f-20e72339e9bf",
  "commerce_id": 2,
  "request": {
    "ipv4": "2",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:17.733 response time in milliseconds: 294
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:28 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:17",
  "timestamp": 1733512577,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv4": "must be a valid IPv4 address"
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:17.786 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.808
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466" 0.004
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.803
13:16:17.797 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "18eab76b-4c5b-449d-8bb5-068342c17751",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.598 response time in milliseconds: 1795
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:19",
  "timestamp": 1733512579,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "18eab76b-4c5b-449d-8bb5-068342c17751",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125785776974704990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.007
* url apiURL 0.000
13:16:17.796 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.248
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.247
13:16:17.812 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9c823ee9-a699-4f82-b06b-1641ba30e4f1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "#(java.util.UUID.randomUUID().toString())"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:18.053 response time in milliseconds: 236
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:28 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:18",
  "timestamp": 1733512578,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv6": "must be a valid IPv6 address"
    }
  }
}


Then status 400 0.000
0.028
* url apiURL 0.000
13:16:18.063 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.025
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.262
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.260
13:16:18.107 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1515
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "232be2df-da59-455c-bec7-96c3e1b14e91",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "12345"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:18.355 response time in milliseconds: 247
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:28 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:18",
  "timestamp": 1733512578,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv6": "must be a valid IPv6 address"
    }
  }
}


Then status 400 0.000
0.023
* url apiURL 0.000
13:16:18.295 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.013
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.001
1.916
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.914
13:16:18.343 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1510
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "63a87b6d-f134-4a6c-9655-d795541ee07d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": ""
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:20.242 response time in milliseconds: 1896
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "63a87b6d-f134-4a6c-9655-d795541ee07d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125791556141504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:18.362 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.783
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = null 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.781
13:16:18.378 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1512
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "883631d1-679f-4411-8e46-950bb9a5ce24",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": null
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:20.148 response time in milliseconds: 1767
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "883631d1-679f-4411-8e46-950bb9a5ce24",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125791706093104974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.032
* url apiURL 0.000
13:16:18.579 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.008
* def requestBody = read('data/evaluations.json') 0.020
* def baseJson = read('data/base.json') 0.002
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.248
* def peticion = requestBody 0.000
* set peticion.request.ipv6 = "2" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.248
13:16:18.615 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1511
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9ef93e9b-29c3-4291-927d-9db50f1caba1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "2"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:18.861 response time in milliseconds: 244
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:29 GMT
1 < Content-Type: application/json
1 < Content-Length: 195
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:19",
  "timestamp": 1733512579,
  "message": "invalid transaction request",
  "errors": {
    "request": {
      "ipv6": "must be a valid IPv6 address"
    }
  }
}


Then status 400 0.000
0.007
* url apiURL 0.000
13:16:18.873 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.434
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.433
13:16:18.886 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d0aa9838-8f51-4da8-9586-12247d5a35e6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:21.314 response time in milliseconds: 2420
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:21",
  "timestamp": 1733512581,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d0aa9838-8f51-4da8-9586-12247d5a35e6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125797046944304982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.010
* url apiURL 0.000
13:16:19.296 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.138
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.137
13:16:19.316 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1591
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6e434743-4b3a-49d2-a290-56f49a6347be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": "#(java.util.UUID.randomUUID().toString())",
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.448 response time in milliseconds: 130
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:19",
  "timestamp": 1733512579,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:19.454 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.127
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.126
13:16:19.473 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dcd0b64d-b5d7-4824-8480-5eadbd60af95",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": "12345",
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.574 response time in milliseconds: 98
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:19",
  "timestamp": 1733512579,
  "message": "invalid body request"
}


Then status 400 0.000
0.014
* url apiURL 0.000
13:16:19.606 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.013
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.123
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.122
13:16:19.625 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1eaa7dba-18bc-4012-8cd4-5a67a51d48af",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": "",
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.745 response time in milliseconds: 115
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "message": "invalid body request"
}


Then status 400 0.000
0.010
* url apiURL 0.000
13:16:19.615 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.861
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.860
13:16:19.637 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "07a81d1e-9bfb-45af-b8d3-284c16326068",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": null,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:21.490 response time in milliseconds: 1851
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:21",
  "timestamp": 1733512581,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "07a81d1e-9bfb-45af-b8d3-284c16326068",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125804476094704974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.001
13:16:19.770 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.131
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_amount = "A" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.129
13:16:19.803 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1551
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "32484846-966f-4557-81fe-a99bb81b1990",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": "A",
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:19.925 response time in milliseconds: 118
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "message": "invalid body request"
}


Then status 400 0.000
0.023
* url apiURL 0.000
13:16:19.945 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.011
* def testCases = read('data/cases.json') 0.006
* requestBody.transaction_id = uuid 0.000
0.157
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.155
13:16:20.004 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "38f04928-1be0-40ef-9eca-c69470c8ff62",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": 1,
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:20.133 response time in milliseconds: 126
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "message": "invalid body request"
}


Then status 400 0.000
0.034
* url apiURL 0.000
13:16:20.177 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.017
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.015
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.284
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.283
13:16:20.247 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1586
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6b58b5d0-9de9-46d7-9455-83897eadd743",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "#(java.util.UUID.randomUUID().toString())",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:20.497 response time in milliseconds: 249
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 224
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:20",
  "timestamp": 1733512580,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "delivery_service": "must contain Spanish letters and digits only"
    }
  }
}


Then status 400 0.000
0.028
* url apiURL 0.000
13:16:20.182 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.012
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.004
* requestBody.transaction_id = uuid 0.009
1.776
Scenario Outline Validate delivery_service
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.774
13:16:20.230 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6a21192d-752f-4fa6-8d28-4175a296384f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "12345",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:21.980 response time in milliseconds: 1745
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:22",
  "timestamp": 1733512582,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6a21192d-752f-4fa6-8d28-4175a296384f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125810236465304988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1745, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:22","timestamp":1733512582,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"6a21192d-752f-4fa6-8d28-4175a296384f","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125810236465304988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
13:16:21.996 classpath:claroscore/features/Motor.feature:201
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1745, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:22","timestamp":1733512582,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"6a21192d-752f-4fa6-8d28-4175a296384f","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125810236465304988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
0.007
* url apiURL 0.000
13:16:20.260 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.844
Scenario Outline Validate delivery_service
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.843
13:16:20.273 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "735813d4-b836-4a70-b9f6-3017555069cf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:22.114 response time in milliseconds: 1838
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:22",
  "timestamp": 1733512582,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "735813d4-b836-4a70-b9f6-3017555069cf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125810766877404985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1838, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:22","timestamp":1733512582,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"735813d4-b836-4a70-b9f6-3017555069cf","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125810766877404985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
13:16:22.116 classpath:claroscore/features/Motor.feature:201
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1838, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:22","timestamp":1733512582,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"735813d4-b836-4a70-b9f6-3017555069cf","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125810766877404985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
0.003
* url apiURL 0.000
13:16:20.502 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.938
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.937
13:16:20.533 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d25f8924-6d05-4258-801b-1c918db0a845",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": null,
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:22.445 response time in milliseconds: 1910
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:22",
  "timestamp": 1733512582,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d25f8924-6d05-4258-801b-1c918db0a845",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125812476532404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.015
* url apiURL 0.000
13:16:21.328 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.004
1.923
Scenario Outline Validate delivery_service
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_service = "UPSs" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.920
13:16:21.358 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d767173b-59b6-43ac-b350-eea8b01ba87a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:23.267 response time in milliseconds: 1906
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:23",
  "timestamp": 1733512583,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d767173b-59b6-43ac-b350-eea8b01ba87a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125822996466804988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1906, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:23","timestamp":1733512583,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"d767173b-59b6-43ac-b350-eea8b01ba87a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125822996466804988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
13:16:23.270 classpath:claroscore/features/Motor.feature:201
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1906, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:23","timestamp":1733512583,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"d767173b-59b6-43ac-b350-eea8b01ba87a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125822996466804988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:201
0.014
* url apiURL 0.000
13:16:21.512 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.005
* requestBody.transaction_id = uuid 0.000
0.145
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = 1 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.142
13:16:21.561 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1534
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "03c64add-a8fd-427b-8cf2-972efbba4a1a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": 1,
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:21.684 response time in milliseconds: 120
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:21",
  "timestamp": 1733512581,
  "message": "invalid body request"
}


Then status 400 0.000
0.011
* url apiURL 0.000
13:16:21.697 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.302
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = '#(java.util.UUID.randomUUID().toString())' 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.297
13:16:21.736 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1576
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c9ff2389-4a46-41ee-8506-aa7c4966353d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "#(java.util.UUID.randomUUID().toString())",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:22.016 response time in milliseconds: 276
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:32 GMT
1 < Content-Type: application/json
1 < Content-Length: 225
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:22",
  "timestamp": 1733512582,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "delivery_tracking": "must contain Spanish letters and digits only"
    }
  }
}


Then status 400 0.000
0.017
* url apiURL 0.000
13:16:22.010 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.008
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.001
1.743
Scenario Outline Validate .purchase.delivery_tracking
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.741
13:16:22.039 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "98dc25f6-1379-4464-8b92-156dfb527fba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12345",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:23.774 response time in milliseconds: 1734
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "98dc25f6-1379-4464-8b92-156dfb527fba",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125828126879904985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1734, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:24","timestamp":1733512584,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"98dc25f6-1379-4464-8b92-156dfb527fba","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125828126879904985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:221
13:16:23.775 classpath:claroscore/features/Motor.feature:221
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1734, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:24","timestamp":1733512584,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"98dc25f6-1379-4464-8b92-156dfb527fba","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125828126879904985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:221
0.001
* url apiURL 0.000
13:16:22.046 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.659
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.659
13:16:22.066 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1535
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5bcbe38a-822c-46d1-a9d4-87044e361208",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:24.707 response time in milliseconds: 2635
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5bcbe38a-822c-46d1-a9d4-87044e361208",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125828666387204976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.011
* url apiURL 0.000
13:16:22.133 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.781
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = null 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.776
13:16:22.157 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1537
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ac66a64e-e99d-4b68-a600-67b96c611e52",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": null,
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:23.925 response time in milliseconds: 1761
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ac66a64e-e99d-4b68-a600-67b96c611e52",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125828886948104982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:22.451 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.901
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_tracking = "12346535038485" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.900
13:16:22.461 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d654e126-abc8-4ab1-8f6c-890ea41bf2e8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:24.357 response time in milliseconds: 1895
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d654e126-abc8-4ab1-8f6c-890ea41bf2e8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125833436204804973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.007
* url apiURL 0.000
13:16:23.287 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.004
0.085
* def peticion = requestBody 0.000
* set peticion.purchase.id = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.082
13:16:23.303 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1531
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ec17d7aa-92a1-48eb-97a7-3b65b0659388",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": 1,
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:23.380 response time in milliseconds: 75
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:33 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:23",
  "timestamp": 1733512583,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:23.395 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.228
* def peticion = requestBody 0.000
* set peticion.purchase.id = '#(java.util.UUID.randomUUID().toString())' 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.226
13:16:23.407 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e619abfd-7958-482a-8a05-26b0cac49bed",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "#(java.util.UUID.randomUUID().toString())",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:25.620 response time in milliseconds: 2210
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:25",
  "timestamp": 1733512585,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e619abfd-7958-482a-8a05-26b0cac49bed",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125843386949904982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "#(java.util.UUID.randomUUID().toString())",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.015
* url apiURL 0.000
13:16:23.779 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.008
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.900
Scenario Outline Validate id purchase
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.id = "12345" 0.007
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.891
13:16:23.816 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1537
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "54a12884-8e11-40de-9e33-981f5d2cb612",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "12345",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:25.696 response time in milliseconds: 1878
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:26",
  "timestamp": 1733512586,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "54a12884-8e11-40de-9e33-981f5d2cb612",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125847386489204975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "12345",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1878, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:26","timestamp":1733512586,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"54a12884-8e11-40de-9e33-981f5d2cb612","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125847386489204975","merchant_id":"t1pagos_poc","client_reference_information_code":"12345","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:241
13:16:25.698 classpath:claroscore/features/Motor.feature:241
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1878, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:26","timestamp":1733512586,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"54a12884-8e11-40de-9e33-981f5d2cb612","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125847386489204975","merchant_id":"t1pagos_poc","client_reference_information_code":"12345","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:241
0.026
* url apiURL 0.000
13:16:23.962 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.022
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.298
* def peticion = requestBody 0.000
* set peticion.purchase.id = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.298
13:16:23.995 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1532
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b0340d70-85b8-40d3-b231-3e4864e98e82",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:24.290 response time in milliseconds: 292
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:34 GMT
1 < Content-Type: application/json
1 < Content-Length: 181
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "id": "cannot be blank"
    }
  }
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:24.299 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.002
* requestBody.transaction_id = uuid 0.000
0.401
Scenario Outline Validate id purchase
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.id = null 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.396
13:16:24.315 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1534
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0dc65719-ec43-492b-b6be-20cb1739edd4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": null,
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:24.706 response time in milliseconds: 389
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 181
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:24",
  "timestamp": 1733512584,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "id": "cannot be blank"
    }
  }
}


Then status 200 0.002
status code was: 400, expected: 200, response time in milliseconds: 389, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:24","timestamp":1733512584,"message":"invalid transaction request","errors":{"purchase":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:241
13:16:24.709 classpath:claroscore/features/Motor.feature:241
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 389, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:24","timestamp":1733512584,"message":"invalid transaction request","errors":{"purchase":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:241
0.027
* url apiURL 0.000
13:16:24.376 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.012
* def requestBody = read('data/evaluations.json') 0.003
* def baseJson = read('data/base.json') 0.003
* def testCases = read('data/cases.json') 0.006
* requestBody.transaction_id = uuid 0.001
1.931
Scenario Outline Validate id purchase
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.id = "12346535038485" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.929
13:16:24.412 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a7c024c3-0397-4fed-8f57-e49415247ff8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "12346535038485",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.337 response time in milliseconds: 1921
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:26",
  "timestamp": 1733512586,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a7c024c3-0397-4fed-8f57-e49415247ff8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125851976950404982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "12346535038485",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1921, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:26","timestamp":1733512586,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a7c024c3-0397-4fed-8f57-e49415247ff8","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125851976950404982","merchant_id":"t1pagos_poc","client_reference_information_code":"12346535038485","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:241
13:16:26.340 classpath:claroscore/features/Motor.feature:241
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1921, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:26","timestamp":1733512586,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a7c024c3-0397-4fed-8f57-e49415247ff8","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335125851976950404982","merchant_id":"t1pagos_poc","client_reference_information_code":"12346535038485","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:241
0.029
* url apiURL 0.000
13:16:24.726 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.016
* def requestBody = read('data/evaluations.json') 0.011
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.095
* def peticion = requestBody 0.000
* set peticion.purchase.created = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.094
13:16:24.764 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1523
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "973439f0-1be7-46b6-b3cf-338c7ab25b15",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": 1,
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:24.853 response time in milliseconds: 87
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:25",
  "timestamp": 1733512585,
  "message": "invalid body request"
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:24.730 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.273
* def peticion = requestBody 0.000
* set peticion.purchase.created = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.272
13:16:24.748 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5dfe062e-d2c5-4534-b05f-e6db5aec1f96",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "#(java.util.UUID.randomUUID().toString())",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:25.011 response time in milliseconds: 261
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 191
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:25",
  "timestamp": 1733512585,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "created": "must be a valid date"
    }
  }
}


Then status 400 0.000
0.016
* url apiURL 0.000
13:16:24.879 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.014
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.289
* def peticion = requestBody 0.000
* set peticion.purchase.created = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.288
13:16:24.904 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1529
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "67514494-d03e-4c2a-ba2d-9cf9fc8d5e6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "12345",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:25.186 response time in milliseconds: 279
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 191
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:25",
  "timestamp": 1733512585,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "created": "must be a valid date"
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:25.021 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.832
Scenario Outline Validate purchase.created
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.created = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.831
13:16:25.029 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1524
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e8dcd1de-aaae-476c-9469-6adf5a450070",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.856 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e8dcd1de-aaae-476c-9469-6adf5a450070",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125858296149104956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:27","timestamp":1733512587,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"e8dcd1de-aaae-476c-9469-6adf5a450070","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125858296149104956","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:260
13:16:26.858 classpath:claroscore/features/Motor.feature:260
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:27","timestamp":1733512587,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"e8dcd1de-aaae-476c-9469-6adf5a450070","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125858296149104956","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:260
0.001
* url apiURL 0.000
13:16:25.195 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.062
* def peticion = requestBody 0.000
* set peticion.purchase.created = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.061
13:16:25.203 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1526
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3d7fb1cb-a683-4c13-864f-1a1bfb5703a9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": null,
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.259 response time in milliseconds: 2053
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3d7fb1cb-a683-4c13-864f-1a1bfb5703a9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "15"
  },
  "decision_manager": {
    "id": "7335125860896149604956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.005
* url apiURL 0.000
13:16:25.643 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.027
* def peticion = requestBody 0.000
* set peticion.purchase.created = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.026
13:16:25.655 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b74f6e1d-611a-4bd9-bd66-a1b804d9eff0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.678 response time in milliseconds: 2020
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b74f6e1d-611a-4bd9-bd66-a1b804d9eff0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125865396470904988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:25.705 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.811
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.809
13:16:25.718 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "72d41517-bdae-408b-8fbb-349f7791d574",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.519 response time in milliseconds: 1798
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:38 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "72d41517-bdae-408b-8fbb-349f7791d574",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125865386046104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:26.347 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.105
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.104
13:16:26.355 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1591
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4b5ba847-347d-4ef6-bdd3-ba54a06c017f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": "#(java.util.UUID.randomUUID().toString())",
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.456 response time in milliseconds: 100
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:26",
  "timestamp": 1733512586,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:26.464 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.132
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.130
13:16:26.472 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1555
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d67d31d6-9fb8-4625-a1e8-64e45f016985",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": "12345",
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.596 response time in milliseconds: 122
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:26",
  "timestamp": 1733512586,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:26.607 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.117
Scenario Outline Validate purchase.total_items
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.115
13:16:26.634 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5b2d2882-7ecd-471f-ad1d-7debb402bb1d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": "",
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.726 response time in milliseconds: 91
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "message": "invalid body request"
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 91, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:27","timestamp":1733512587,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:280
13:16:26.727 classpath:claroscore/features/Motor.feature:280
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 91, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:27","timestamp":1733512587,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:280
0.003
* url apiURL 0.000
13:16:26.743 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.257
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = null 0.004
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.252
13:16:26.756 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "faf03f50-8599-4d7f-9b1f-101a361e79a7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": null,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.004 response time in milliseconds: 2246
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "faf03f50-8599-4d7f-9b1f-101a361e79a7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125875856472004988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:26.862 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.102
* def peticion = requestBody 0.000
* set peticion.purchase.total_items = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.101
13:16:26.874 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1575
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "34a27d86-9c06-439d-9adf-12e44c33f325",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": "2024-11-07T19:36:25-06:00",
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:26.971 response time in milliseconds: 94
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:26.978 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.130
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.129
13:16:26.984 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1523
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "349d2c9c-ce72-4dc3-bdd5-18ba11ca5177",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": 1,
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.110 response time in milliseconds: 126
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:27.114 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.279
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.278
13:16:27.121 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1eeae7d7-42e9-4401-a3eb-863e8b1a2a44",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "#(java.util.UUID.randomUUID().toString())",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.395 response time in milliseconds: 273
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 197
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "delivery_date": "must be a valid date"
    }
  }
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:16:27.281 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.263
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.261
13:16:27.292 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1529
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3727a7ec-84a2-4804-818c-ee6bb20e9400",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "12345",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:27.548 response time in milliseconds: 253
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:38 GMT
1 < Content-Type: application/json
1 < Content-Length: 197
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:27",
  "timestamp": 1733512587,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "delivery_date": "must be a valid date"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:27.404 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.946
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.946
13:16:27.409 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1524
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8f81eb21-facf-4f67-9642-c854aff3f246",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.353 response time in milliseconds: 1937
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8f81eb21-facf-4f67-9642-c854aff3f246",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125881576985304990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:27.527 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.060
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.059
13:16:27.540 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1526
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b91979c3-af8b-43d9-b9e8-1ec175592dcb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": null,
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.595 response time in milliseconds: 2054
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b91979c3-af8b-43d9-b9e8-1ec175592dcb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125883536985604990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:27.558 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.958
* def peticion = requestBody 0.000
* set peticion.purchase.delivery_date = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.957
13:16:27.565 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "13ba71e5-f04a-4dd6-ad5b-556793e205d3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2024-11-07T19:36:25-06:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.518 response time in milliseconds: 1951
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "13ba71e5-f04a-4dd6-ad5b-556793e205d3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125883546493304975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:27.685 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.915
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = 5 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.914
13:16:27.701 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f71a060d-802f-406d-ac94-b1cdcd46aead",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 5,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.608 response time in milliseconds: 1905
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f71a060d-802f-406d-ac94-b1cdcd46aead",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125885096117904984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:29.015 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.107
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.104
13:16:29.026 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0007facc-48c4-4b74-9403-e30b0a938ff7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": "#(java.util.UUID.randomUUID().toString())",
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.127 response time in milliseconds: 99
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:39 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "message": "invalid body request"
}


Then status 400 0.002
0.002
* url apiURL 0.000
13:16:29.139 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.111
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.109
13:16:29.150 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00139371-933d-4fd6-93ba-7d76a11a9d63",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": "12345",
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.254 response time in milliseconds: 100
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:39 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:29.265 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.119
Scenario Outline Validate purchase.items_amount
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.118
13:16:29.274 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "542333b0-456c-4dbf-9658-7f777a3df18a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": "",
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.387 response time in milliseconds: 107
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:39 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "message": "invalid body request"
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 107, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:29","timestamp":1733512589,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:324
13:16:29.389 classpath:claroscore/features/Motor.feature:324
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 107, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:29","timestamp":1733512589,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:324
0.006
* url apiURL 0.000
13:16:29.365 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.698
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.697
13:16:29.412 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e9aa49d-7e13-4ef9-b2d8-f35bb22bb9be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": null,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:32.082 response time in milliseconds: 2667
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:32",
  "timestamp": 1733512592,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e9aa49d-7e13-4ef9-b2d8-f35bb22bb9be",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125903366099004979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:29.393 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.108
* def peticion = requestBody 0.000
* set peticion.purchase.items_amount = "2024-11-07T19:36:25-06:00" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.106
13:16:29.403 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2bcbef99-06d6-462d-bb6c-849165832b81",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": "2024-11-07T19:36:25-06:00",
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.504 response time in milliseconds: 100
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "message": "invalid body request"
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:29.512 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.937
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = 1 0.001
* print 'Request:', peticion 0.001
13:16:29.523 [print] Request: {
  "transaction_id": "56b8651c-15de-45d6-be35-3ec23c4b877f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.934
13:16:29.525 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56b8651c-15de-45d6-be35-3ec23c4b877f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 1,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:31.457 response time in milliseconds: 1930
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:41 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:31",
  "timestamp": 1733512591,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56b8651c-15de-45d6-be35-3ec23c4b877f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125903176495904975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.007
* url apiURL 0.000
13:16:29.530 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.001
* requestBody.transaction_id = uuid 0.000
0.132
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = '#(java.util.UUID.randomUUID().toString())' 0.000
* print 'Request:', peticion 0.000
13:16:29.544 [print] Request: {
  "transaction_id": "0a5f0ce8-7aa6-4c64-88f7-68df7a8e2db8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "#(java.util.UUID.randomUUID().toString())",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.130
13:16:29.546 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1589
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0a5f0ce8-7aa6-4c64-88f7-68df7a8e2db8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "#(java.util.UUID.randomUUID().toString())",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.674 response time in milliseconds: 128
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:29",
  "timestamp": 1733512589,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:29.600 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.109
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = "12345" 0.000
* print 'Request:', peticion 0.001
13:16:29.606 [print] Request: {
  "transaction_id": "0dc792a9-957e-420b-aa70-5c2f3e8ab1be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "12345",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.107
13:16:29.615 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0dc792a9-957e-420b-aa70-5c2f3e8ab1be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "12345",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.713 response time in milliseconds: 96
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:30",
  "timestamp": 1733512590,
  "message": "invalid body request"
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:29.636 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.107
Scenario Outline Validate purchase.total_amount
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = "" 0.006
* print 'Request:', peticion 0.002
13:16:29.653 [print] Request: {
  "transaction_id": "c5738974-0600-41ce-ac04-6e802eb4af18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.097
13:16:29.659 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c5738974-0600-41ce-ac04-6e802eb4af18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.751 response time in milliseconds: 91
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:30",
  "timestamp": 1733512590,
  "message": "invalid body request"
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 91, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:30","timestamp":1733512590,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:345
13:16:29.752 classpath:claroscore/features/Motor.feature:345
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 91, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:30","timestamp":1733512590,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:345
0.006
* url apiURL 0.000
13:16:29.680 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.042
Scenario Outline Validate purchase.total_amount
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = null 0.002
* print 'Request:', peticion 0.002
13:16:29.692 [print] Request: {
  "transaction_id": "7bf70e4f-a7f1-4280-b3e9-53ae35b934d8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": null,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.037
13:16:29.700 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7bf70e4f-a7f1-4280-b3e9-53ae35b934d8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": null,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:31.729 response time in milliseconds: 2023
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:32",
  "timestamp": 1733512592,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7bf70e4f-a7f1-4280-b3e9-53ae35b934d8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125906596889604985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2023, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:32","timestamp":1733512592,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"7bf70e4f-a7f1-4280-b3e9-53ae35b934d8","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125906596889604985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:345
13:16:31.731 classpath:claroscore/features/Motor.feature:345
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2023, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:32","timestamp":1733512592,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"7bf70e4f-a7f1-4280-b3e9-53ae35b934d8","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335125906596889604985","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:345
0.002
* url apiURL 0.000
13:16:29.727 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.105
* def peticion = requestBody 0.000
* set peticion.purchase.total_amount = "2024-11-07T19:36:25-06:00" 0.000
* print 'Request:', peticion 0.001
13:16:29.733 [print] Request: {
  "transaction_id": "4e78a9a5-d5fe-4781-a3ee-7d6f258f7d8d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "2024-11-07T19:36:25-06:00",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.103
13:16:29.735 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4e78a9a5-d5fe-4781-a3ee-7d6f258f7d8d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": "2024-11-07T19:36:25-06:00",
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.836 response time in milliseconds: 99
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:30",
  "timestamp": 1733512590,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:29.756 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.084
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = 1 0.000
* print 'Request:', peticion 0.000
13:16:29.759 [print] Request: {
  "transaction_id": "7087b0c9-82a1-4196-a872-5ea2af7ea22d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": 1,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.082
13:16:29.762 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1537
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7087b0c9-82a1-4196-a872-5ea2af7ea22d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": 1,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:29.842 response time in milliseconds: 79
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:30",
  "timestamp": 1733512590,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:29.843 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.276
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = '#(java.util.UUID.randomUUID().toString())' 0.001
* print 'Request:', peticion 0.002
13:16:29.850 [print] Request: {
  "transaction_id": "5cbbe9a9-952f-4827-9769-75e16b97fcfe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "#(java.util.UUID.randomUUID().toString())",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.272
13:16:29.853 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1579
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5cbbe9a9-952f-4827-9769-75e16b97fcfe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "#(java.util.UUID.randomUUID().toString())",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:30.122 response time in milliseconds: 269
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:40 GMT
1 < Content-Type: application/json
1 < Content-Length: 235
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:30",
  "timestamp": 1733512590,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:29.848 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.691
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = "12345" 0.000
* print 'Request:', peticion 0.000
13:16:29.853 [print] Request: {
  "transaction_id": "f61d8ada-1858-43e5-aa47-5e1a2f4045c9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "12345",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.689
13:16:29.854 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f61d8ada-1858-43e5-aa47-5e1a2f4045c9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "12345",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:31.542 response time in milliseconds: 1685
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:42 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:31",
  "timestamp": 1733512591,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f61d8ada-1858-43e5-aa47-5e1a2f4045c9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125906306066904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:16:30.129 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.550
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = "" 0.001
* print 'Request:', peticion 0.000
13:16:30.137 [print] Request: {
  "transaction_id": "626f1827-cf31-446e-b1ba-5a2d2308f9b7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.548
13:16:30.140 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "626f1827-cf31-446e-b1ba-5a2d2308f9b7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:32.685 response time in milliseconds: 2543
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:32",
  "timestamp": 1733512592,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "626f1827-cf31-446e-b1ba-5a2d2308f9b7",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125916346108504974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "94",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:31.469 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.826
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = null 0.016
* print 'Request:', peticion 0.003
13:16:31.495 [print] Request: {
  "transaction_id": "10ae2456-87f8-449b-b724-f7550eeec752",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": null,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.805
13:16:31.501 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "10ae2456-87f8-449b-b724-f7550eeec752",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": null,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:33.301 response time in milliseconds: 1798
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:43 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:33",
  "timestamp": 1733512593,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "10ae2456-87f8-449b-b724-f7550eeec752",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125922036958204982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "94",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:31.565 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.384
Scenario Outline Validate purchase.shipping_address.street
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.shipping_address.street = "2024-11-07T19:36:25-06:00" 0.000
* print 'Request:', peticion 0.001
13:16:31.577 [print] Request: {
  "transaction_id": "f2b03d25-28f9-4cb3-9a23-9114e6874ee3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "2024-11-07T19:36:25-06:00",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.381
13:16:31.579 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f2b03d25-28f9-4cb3-9a23-9114e6874ee3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "2024-11-07T19:36:25-06:00",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:31.958 response time in milliseconds: 377
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:42 GMT
1 < Content-Type: application/json
1 < Content-Length: 235
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:32",
  "timestamp": 1733512592,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 377, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:32","timestamp":1733512592,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"street":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:366
13:16:31.960 classpath:claroscore/features/Motor.feature:366
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 377, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:32","timestamp":1733512592,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"street":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:366
0.007
* url apiURL 0.000
13:16:31.743 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.169
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = 1 0.000
* print 'Request:', peticion 0.000
13:16:31.753 [print] Request: {
  "transaction_id": "2285d6ae-1796-4117-9250-a973fa422024",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": 1,
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.168
13:16:31.758 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1526
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2285d6ae-1796-4117-9250-a973fa422024",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": 1,
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:31.921 response time in milliseconds: 161
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:42 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:32",
  "timestamp": 1733512592,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:31.929 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.851
Scenario Outline Validate .purchase.device_fingerprint
Steps
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = '#(java.util.UUID.randomUUID().toString())' 0.000
* print 'Request:', peticion 0.000
13:16:31.931 [print] Request: {
  "transaction_id": "6284c405-84e3-48f2-a7d7-4b7c471a6620",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "#(java.util.UUID.randomUUID().toString())",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.850
13:16:31.932 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1568
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6284c405-84e3-48f2-a7d7-4b7c471a6620",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "#(java.util.UUID.randomUUID().toString())",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:33.781 response time in milliseconds: 1847
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6284c405-84e3-48f2-a7d7-4b7c471a6620",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125927506966604978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1847, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:34","timestamp":1733512594,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"6284c405-84e3-48f2-a7d7-4b7c471a6620","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125927506966604978","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:389
13:16:33.783 classpath:claroscore/features/Motor.feature:389
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1847, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:34","timestamp":1733512594,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"6284c405-84e3-48f2-a7d7-4b7c471a6620","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335125927506966604978","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"97","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:389
0.033
* url apiURL 0.000
13:16:31.969 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.027
* def testCases = read('data/cases.json') 0.004
* requestBody.transaction_id = uuid 0.000
1.958
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = "12345" 0.000
* print 'Request:', peticion 0.000
13:16:32.005 [print] Request: {
  "transaction_id": "df366045-9cbd-4b16-b61d-d976bd976fba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "12345",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.957
13:16:32.007 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1532
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "df366045-9cbd-4b16-b61d-d976bd976fba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "12345",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:33.962 response time in milliseconds: 1952
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "df366045-9cbd-4b16-b61d-d976bd976fba",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125929306893204985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.016
* url apiURL 0.000
13:16:32.106 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.013
1.912
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = "" 0.000
* print 'Request:', peticion 0.001
13:16:32.152 [print] Request: {
  "transaction_id": "2f475c23-02fd-489d-a459-d6ef7bc17cba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.909
13:16:32.156 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1527
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2f475c23-02fd-489d-a459-d6ef7bc17cba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:34.061 response time in milliseconds: 1903
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:44 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2f475c23-02fd-489d-a459-d6ef7bc17cba",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": null,
  "decision_manager": {
    "id": "7335125930296966804978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "94",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:32.690 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.769
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = null 0.000
* print 'Request:', peticion 0.001
13:16:32.696 [print] Request: {
  "transaction_id": "5934898d-4476-4b25-aab3-08bf7b2981a1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": null,
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.767
13:16:32.699 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1529
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5934898d-4476-4b25-aab3-08bf7b2981a1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": null,
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:34.463 response time in milliseconds: 1758
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5934898d-4476-4b25-aab3-08bf7b2981a1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": null,
  "decision_manager": {
    "id": "7335125934136917104981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "94",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:16:33.305 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.792
* def peticion = requestBody 0.000
* set peticion.purchase.device_fingerprint = "2024-11-07T19:36:25-06:00" 0.000
* print 'Request:', peticion 0.000
13:16:33.308 [print] Request: {
  "transaction_id": "01552053-9412-4c36-b5c7-2e158e9a37e8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "2024-11-07T19:36:25-06:00",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.791
13:16:33.310 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "01552053-9412-4c36-b5c7-2e158e9a37e8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "2024-11-07T19:36:25-06:00",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:35.098 response time in milliseconds: 1786
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:45 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:35",
  "timestamp": 1733512595,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "01552053-9412-4c36-b5c7-2e158e9a37e8",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125940876801304983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:33.789 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.111
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:33.792 [print] Request: {
  "transaction_id": "0090a10a-3571-469e-9b06-850fe3dd9d93",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.110
13:16:33.794 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1537
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0090a10a-3571-469e-9b06-850fe3dd9d93",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": 1,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:33.902 response time in milliseconds: 106
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:44 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:33.906 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.322
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:33.910 [print] Request: {
  "transaction_id": "86c77d8b-b232-44dd-915f-d6c3a4def107",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.320
13:16:33.915 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1579
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "86c77d8b-b232-44dd-915f-d6c3a4def107",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "#(java.util.UUID.randomUUID().toString())",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:34.231 response time in milliseconds: 315
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:44 GMT
1 < Content-Type: application/json
1 < Content-Length: 235
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:34",
  "timestamp": 1733512594,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.012
* url apiURL 0.000
13:16:33.971 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.006
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.666
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:33.988 [print] Request: {
  "transaction_id": "9d0f0937-20fd-4224-8803-3e3471453dcd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.665
13:16:33.990 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9d0f0937-20fd-4224-8803-3e3471453dcd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "12345",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:35.654 response time in milliseconds: 1662
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:35",
  "timestamp": 1733512595,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9d0f0937-20fd-4224-8803-3e3471453dcd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125947286969404978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:34.077 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.189
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:34.081 [print] Request: {
  "transaction_id": "f4de36fd-dcf9-4f0c-bf08-b5ff155d499b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.188
13:16:34.083 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f4de36fd-dcf9-4f0c-bf08-b5ff155d499b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.270 response time in milliseconds: 2186
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:36",
  "timestamp": 1733512596,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f4de36fd-dcf9-4f0c-bf08-b5ff155d499b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125948856072204960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:34.234 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.031
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:34.236 [print] Request: {
  "transaction_id": "ca83de15-ea5f-4868-a09e-e0fe4d0a5b0b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.029
13:16:34.241 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ca83de15-ea5f-4868-a09e-e0fe4d0a5b0b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": null,
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.267 response time in milliseconds: 2026
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:46 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:36",
  "timestamp": 1733512596,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ca83de15-ea5f-4868-a09e-e0fe4d0a5b0b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125949616992904990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "96",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:34.469 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.259
Scenario Outline : Validate .purchase.shipping_address.street
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:34.475 [print] Request: {
  "transaction_id": "a615a3be-13c3-4807-8a89-50971a690c48",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.street = "2024-11-07T19:36:25-06:00" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.256
13:16:34.480 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a615a3be-13c3-4807-8a89-50971a690c48",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "2024-11-07T19:36:25-06:00",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:34.732 response time in milliseconds: 251
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:45 GMT
1 < Content-Type: application/json
1 < Content-Length: 235
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:35",
  "timestamp": 1733512595,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 251, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:35","timestamp":1733512595,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"street":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:414
13:16:34.733 classpath:claroscore/features/Motor.feature:414
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 251, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:35","timestamp":1733512595,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"street":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:414
0.002
* url apiURL 0.000
13:16:34.736 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.129
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:34.740 [print] Request: {
  "transaction_id": "ac01f320-ecfb-45e6-95d7-eb201b090c50",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.126
13:16:34.745 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ac01f320-ecfb-45e6-95d7-eb201b090c50",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": 1,
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:34.868 response time in milliseconds: 123
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:45 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:35",
  "timestamp": 1733512595,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:34.871 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.263
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:34.873 [print] Request: {
  "transaction_id": "a3ed8e2a-ed11-4668-bdee-3c1980c3ed88",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.262
13:16:34.877 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1589
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a3ed8e2a-ed11-4668-bdee-3c1980c3ed88",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "#(java.util.UUID.randomUUID().toString())",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:35.136 response time in milliseconds: 256
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:45 GMT
1 < Content-Type: application/json
1 < Content-Length: 225
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:35",
  "timestamp": 1733512595,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:35.105 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.778
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:35.108 [print] Request: {
  "transaction_id": "363ac672-bedd-40d5-92ac-0a62cdd93a3e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.777
13:16:35.113 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "363ac672-bedd-40d5-92ac-0a62cdd93a3e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "12345",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.885 response time in milliseconds: 1770
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:37",
  "timestamp": 1733512597,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "363ac672-bedd-40d5-92ac-0a62cdd93a3e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125958916091204986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:35.139 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.930
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:35.144 [print] Request: {
  "transaction_id": "6acdf541-a48f-47c8-80c7-96ad8c3a3a78",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.927
13:16:35.148 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6acdf541-a48f-47c8-80c7-96ad8c3a3a78",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:37.073 response time in milliseconds: 1923
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:47 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:37",
  "timestamp": 1733512597,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6acdf541-a48f-47c8-80c7-96ad8c3a3a78",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125959426073904960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:35.662 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.879
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:35.665 [print] Request: {
  "transaction_id": "778bccd2-74fa-47dc-86e0-c853503102bd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.878
13:16:35.666 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "778bccd2-74fa-47dc-86e0-c853503102bd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": null,
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:37.543 response time in milliseconds: 1874
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:48 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:37",
  "timestamp": 1733512597,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "778bccd2-74fa-47dc-86e0-c853503102bd",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125964486113704974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:36.270 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.231
Scenario Outline Validate purchase.shipping_address.external_number
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:36.272 [print] Request: {
  "transaction_id": "245b4592-6c68-4add-bff4-6effe38f76ce",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.external_number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.230
13:16:36.275 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "245b4592-6c68-4add-bff4-6effe38f76ce",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "2024-11-07T19:36:25-06:00",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.501 response time in milliseconds: 225
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:47 GMT
1 < Content-Type: application/json
1 < Content-Length: 225
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:36",
  "timestamp": 1733512596,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 225, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:36","timestamp":1733512596,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"external_number":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:435
13:16:36.504 classpath:claroscore/features/Motor.feature:435
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 225, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:36","timestamp":1733512596,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"external_number":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:435
0.002
* url apiURL 0.000
13:16:36.275 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.069
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:36.279 [print] Request: {
  "transaction_id": "50a3b75b-b6ca-490d-bc65-a8b86faf2eb7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.067
13:16:36.283 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "50a3b75b-b6ca-490d-bc65-a8b86faf2eb7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": 1,
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.348 response time in milliseconds: 62
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:46 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:36",
  "timestamp": 1733512596,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:36.352 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.234
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:36.353 [print] Request: {
  "transaction_id": "35c2d93b-ce79-48ce-a0af-27fb70af132a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.233
13:16:36.354 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "35c2d93b-ce79-48ce-a0af-27fb70af132a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "#(java.util.UUID.randomUUID().toString())",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:36.586 response time in milliseconds: 230
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:47 GMT
1 < Content-Type: application/json
1 < Content-Length: 217
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:36",
  "timestamp": 1733512596,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:36.510 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.903
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:36.516 [print] Request: {
  "transaction_id": "59c45e7a-18ae-4e84-af59-db5fc69624ee",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = "MEX" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.900
13:16:36.521 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "59c45e7a-18ae-4e84-af59-db5fc69624ee",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:38.417 response time in milliseconds: 1894
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:38",
  "timestamp": 1733512598,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "59c45e7a-18ae-4e84-af59-db5fc69624ee",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125974296504004975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:36.592 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.929
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:36.594 [print] Request: {
  "transaction_id": "c2264e96-4d6b-4550-ae11-6b0da95b2843",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.929
13:16:36.595 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c2264e96-4d6b-4550-ae11-6b0da95b2843",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:38.522 response time in milliseconds: 1924
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:38",
  "timestamp": 1733512598,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c2264e96-4d6b-4550-ae11-6b0da95b2843",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335125973896805804983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:36.894 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.816
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:36.898 [print] Request: {
  "transaction_id": "84e33fc8-ba14-4335-9a9f-16e3c71bb7de",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.815
13:16:36.900 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "84e33fc8-ba14-4335-9a9f-16e3c71bb7de",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": null,
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:38.714 response time in milliseconds: 1813
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "84e33fc8-ba14-4335-9a9f-16e3c71bb7de",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335125977136129004984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:37.078 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.313
Scenario Outline Validate purchase.shipping_address.town
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:37.082 [print] Request: {
  "transaction_id": "7e85812a-69b1-4917-ad2c-68db33b2d1bc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.town = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.311
13:16:37.086 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7e85812a-69b1-4917-ad2c-68db33b2d1bc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "2024-11-07T19:36:25-06:00",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:37.395 response time in milliseconds: 307
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:47 GMT
1 < Content-Type: application/json
1 < Content-Length: 217
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:37",
  "timestamp": 1733512597,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 307, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:37","timestamp":1733512597,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:456
13:16:37.396 classpath:claroscore/features/Motor.feature:456
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 307, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:37","timestamp":1733512597,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:456
0.002
* url apiURL 0.000
13:16:37.398 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.095
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:37.401 [print] Request: {
  "transaction_id": "1481b7de-9f10-424f-8350-578d1b40deab",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.094
13:16:37.405 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1481b7de-9f10-424f-8350-578d1b40deab",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": 1,
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:37.496 response time in milliseconds: 89
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:48 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:37",
  "timestamp": 1733512597,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:37.499 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.239
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:37.501 [print] Request: {
  "transaction_id": "0651fd23-fc88-4c55-b418-2e843e0b8272",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.239
13:16:37.503 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0651fd23-fc88-4c55-b418-2e843e0b8272",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "#(java.util.UUID.randomUUID().toString())",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:37.740 response time in milliseconds: 236
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:48 GMT
1 < Content-Type: application/json
1 < Content-Length: 244
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:38",
  "timestamp": 1733512598,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:37.550 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.201
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:37.552 [print] Request: {
  "transaction_id": "f3c1e70f-27ab-4ea1-9084-267da1df2b90",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = "1A" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.201
13:16:37.553 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f3c1e70f-27ab-4ea1-9084-267da1df2b90",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:39.753 response time in milliseconds: 2197
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f3c1e70f-27ab-4ea1-9084-267da1df2b90",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125984776807104983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:37.749 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.004
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:37.753 [print] Request: {
  "transaction_id": "39033baa-a480-4882-bb08-126a875f2709",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.004
13:16:37.755 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "39033baa-a480-4882-bb08-126a875f2709",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:39.757 response time in milliseconds: 2000
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "39033baa-a480-4882-bb08-126a875f2709",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125986526765504980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:38.427 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.751
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:38.430 [print] Request: {
  "transaction_id": "fc4edccd-202c-4caf-9ec9-73bd452b9482",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.750
13:16:38.433 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fc4edccd-202c-4caf-9ec9-73bd452b9482",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": null,
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:40.180 response time in milliseconds: 1746
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:50 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:40",
  "timestamp": 1733512600,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fc4edccd-202c-4caf-9ec9-73bd452b9482",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335125992696077304960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:38.530 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.283
Scenario Outline Validate purchase.shipping_address.internal_number
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:38.534 [print] Request: {
  "transaction_id": "0598da87-98eb-43d0-941d-d7032deb7fd2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.internal_number = "2024-11-07T19:36:25-06:00" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.280
13:16:38.541 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0598da87-98eb-43d0-941d-d7032deb7fd2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "2024-11-07T19:36:25-06:00",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:38.816 response time in milliseconds: 274
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Content-Length: 244
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 274, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:39","timestamp":1733512599,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"internal_number":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:478
13:16:38.817 classpath:claroscore/features/Motor.feature:478
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 274, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:39","timestamp":1733512599,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"internal_number":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:478
0.000
* url apiURL 0.000
13:16:38.716 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.104
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:38.718 [print] Request: {
  "transaction_id": "7a42a8b9-f5fc-4e20-90c9-d266f2499675",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.104
13:16:38.721 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7a42a8b9-f5fc-4e20-90c9-d266f2499675",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": 1,
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:38.822 response time in milliseconds: 100
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:38.821 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.236
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:38.826 [print] Request: {
  "transaction_id": "6aa3592a-821a-46f5-93c8-7e1345f866dc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.235
13:16:38.831 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6aa3592a-821a-46f5-93c8-7e1345f866dc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "#(java.util.UUID.randomUUID().toString())",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:39.062 response time in milliseconds: 229
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:49 GMT
1 < Content-Type: application/json
1 < Content-Length: 217
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:39",
  "timestamp": 1733512599,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "city": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:38.829 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.782
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:38.832 [print] Request: {
  "transaction_id": "27dd6e05-0308-4c25-b0a3-71be9f985178",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = "MEX" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.781
13:16:38.835 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "27dd6e05-0308-4c25-b0a3-71be9f985178",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:40.614 response time in milliseconds: 1776
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:51 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:40",
  "timestamp": 1733512600,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "27dd6e05-0308-4c25-b0a3-71be9f985178",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335125995966506604975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:16:39.068 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.004
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.637
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.004
13:16:39.081 [print] Request: {
  "transaction_id": "b611028d-add7-4644-afb2-3fce11bf7850",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.632
13:16:39.086 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b611028d-add7-4644-afb2-3fce11bf7850",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:41.714 response time in milliseconds: 2627
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b611028d-add7-4644-afb2-3fce11bf7850",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335125999956966904982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:39.761 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.128
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:39.764 [print] Request: {
  "transaction_id": "b45aa061-1ff0-4ad6-9707-ae8288685a4d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.127
13:16:39.767 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b45aa061-1ff0-4ad6-9707-ae8288685a4d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": null,
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:41.892 response time in milliseconds: 2123
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b45aa061-1ff0-4ad6-9707-ae8288685a4d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126008686967704982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:39.762 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.487
Scenario Outline Validate purchase.shipping_address.city
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:39.765 [print] Request: {
  "transaction_id": "8d8e80b6-adce-41b7-978d-9a47dbcd1ac1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.city = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.485
13:16:39.767 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8d8e80b6-adce-41b7-978d-9a47dbcd1ac1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "2024-11-07T19:36:25-06:00",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:40.251 response time in milliseconds: 483
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:50 GMT
1 < Content-Type: application/json
1 < Content-Length: 217
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:40",
  "timestamp": 1733512600,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "city": "must contain Spanish letters"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 483, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:40","timestamp":1733512600,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"city":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:500
13:16:40.252 classpath:claroscore/features/Motor.feature:500
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 483, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:40","timestamp":1733512600,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"city":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:500
0.003
* url apiURL 0.000
13:16:40.188 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.097
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:40.193 [print] Request: {
  "transaction_id": "58947782-61e4-46bc-9993-e40892c61230",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.095
13:16:40.195 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "58947782-61e4-46bc-9993-e40892c61230",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": 1,
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:40.287 response time in milliseconds: 90
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:50 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:40",
  "timestamp": 1733512600,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:40.260 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.303
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:40.264 [print] Request: {
  "transaction_id": "e5fd68da-2634-43d4-929d-3d05f261f6da",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.303
13:16:40.264 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e5fd68da-2634-43d4-929d-3d05f261f6da",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "#(java.util.UUID.randomUUID().toString())",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:40.566 response time in milliseconds: 302
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:51 GMT
1 < Content-Type: application/json
1 < Content-Length: 223
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:40",
  "timestamp": 1733512600,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:40.297 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.110
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:40.299 [print] Request: {
  "transaction_id": "3868ae26-d203-4b6a-9c39-f3423dd08853",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = "EM" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.109
13:16:40.304 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3868ae26-d203-4b6a-9c39-f3423dd08853",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.409 response time in milliseconds: 2104
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3868ae26-d203-4b6a-9c39-f3423dd08853",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126010906999804990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:40.571 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.824
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:40.575 [print] Request: {
  "transaction_id": "82d64a0e-aea9-4934-ba6c-af11148389d1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.823
13:16:40.578 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "82d64a0e-aea9-4934-ba6c-af11148389d1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.399 response time in milliseconds: 1820
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "82d64a0e-aea9-4934-ba6c-af11148389d1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126014896118704974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:40.623 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.841
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:40.628 [print] Request: {
  "transaction_id": "80eeb4a7-58f8-4e8d-aae0-f5c4edcc4c9e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.839
13:16:40.632 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "80eeb4a7-58f8-4e8d-aae0-f5c4edcc4c9e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": null,
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.469 response time in milliseconds: 1836
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "80eeb4a7-58f8-4e8d-aae0-f5c4edcc4c9e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126014066903804985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:41.723 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.246
Scenario Outline Validate purchase.shipping_address.state
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:41.725 [print] Request: {
  "transaction_id": "33d53852-76a6-44c1-b879-cd0465a846cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.state = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.245
13:16:41.726 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "33d53852-76a6-44c1-b879-cd0465a846cb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "2024-11-07T19:36:25-06:00",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:41.970 response time in milliseconds: 243
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Content-Length: 223
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 243, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:42","timestamp":1733512602,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"state":"must contain English letters only"}}}}

classpath:claroscore/features/Motor.feature:521
13:16:41.971 classpath:claroscore/features/Motor.feature:521
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 243, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:42","timestamp":1733512602,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"state":"must contain English letters only"}}}}

classpath:claroscore/features/Motor.feature:521
0.000
* url apiURL 0.000
13:16:41.895 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.073
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:41.897 [print] Request: {
  "transaction_id": "afb5451c-d241-4f7f-8434-7218419db96c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.072
13:16:41.900 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "afb5451c-d241-4f7f-8434-7218419db96c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": 1,
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:41.970 response time in milliseconds: 68
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:41.977 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.427
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:41.979 [print] Request: {
  "transaction_id": "0952bea2-bf0b-4a02-b8e9-a09de2f84481",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.426
13:16:41.981 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0952bea2-bf0b-4a02-b8e9-a09de2f84481",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "#(java.util.UUID.randomUUID().toString())",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.406 response time in milliseconds: 424
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:52 GMT
1 < Content-Type: application/json
1 < Content-Length: 225
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:41.976 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.152
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:41.979 [print] Request: {
  "transaction_id": "8543a4f6-a508-4d9c-a541-6de0d7d54415",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.151
13:16:41.981 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8543a4f6-a508-4d9c-a541-6de0d7d54415",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "EM",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:43.131 response time in milliseconds: 1149
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:43",
  "timestamp": 1733512603,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8543a4f6-a508-4d9c-a541-6de0d7d54415",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:16:42.403 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.241
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:42.408 [print] Request: {
  "transaction_id": "af3bdf7a-580f-42d5-a059-756d3701c3e1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.240
13:16:42.412 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "af3bdf7a-580f-42d5-a059-756d3701c3e1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.649 response time in milliseconds: 2236
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:44",
  "timestamp": 1733512604,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "af3bdf7a-580f-42d5-a059-756d3701c3e1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126031956905804985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:42.417 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.502
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:42.420 [print] Request: {
  "transaction_id": "2ca6aae3-4005-40bb-9afe-e2d430bd182d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.501
13:16:42.422 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2ca6aae3-4005-40bb-9afe-e2d430bd182d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": null,
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.921 response time in milliseconds: 2497
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2ca6aae3-4005-40bb-9afe-e2d430bd182d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126032286812504983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:42.416 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.254
Scenario Outline Validate purchase.shipping_address.country
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:42.419 [print] Request: {
  "transaction_id": "8128fce6-d48b-44bc-b47b-f03cefda364b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.country = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.253
13:16:42.422 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8128fce6-d48b-44bc-b47b-f03cefda364b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "2024-11-07T19:36:25-06:00",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.672 response time in milliseconds: 248
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Content-Length: 225
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 248, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:42","timestamp":1733512602,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"country":"must contain English letters only"}}}}

classpath:claroscore/features/Motor.feature:543
13:16:42.674 classpath:claroscore/features/Motor.feature:543
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 248, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:42","timestamp":1733512602,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"country":"must contain English letters only"}}}}

classpath:claroscore/features/Motor.feature:543
0.003
* url apiURL 0.000
13:16:42.475 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.103
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:42.481 [print] Request: {
  "transaction_id": "39132f4a-4338-4e65-9fb5-bfe28fdfe423",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.101
13:16:42.483 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "39132f4a-4338-4e65-9fb5-bfe28fdfe423",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": 1
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.583 response time in milliseconds: 98
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:42",
  "timestamp": 1733512602,
  "message": "invalid body request"
}


Then status 400 0.000
0.009
* url apiURL 0.000
13:16:42.592 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.004
* def requestBody = read('data/evaluations.json') 0.002
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.250
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:16:42.607 [print] Request: {
  "transaction_id": "c8162efb-fd6e-4720-8c85-65140c54b512",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = '#(java.util.UUID.randomUUID().toString())' 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.244
13:16:42.618 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c8162efb-fd6e-4720-8c85-65140c54b512",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "#(java.util.UUID.randomUUID().toString())"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:42.854 response time in milliseconds: 234
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:53 GMT
1 < Content-Type: application/json
1 < Content-Length: 237
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:43",
  "timestamp": 1733512603,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:42.678 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.797
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:42.683 [print] Request: {
  "transaction_id": "813a2cf2-e12e-4597-a681-0a76d5d28ab5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.795
13:16:42.688 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "813a2cf2-e12e-4597-a681-0a76d5d28ab5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "EM"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.479 response time in milliseconds: 1790
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:44",
  "timestamp": 1733512604,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "813a2cf2-e12e-4597-a681-0a76d5d28ab5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126034606770604980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:42.862 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.783
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:42.866 [print] Request: {
  "transaction_id": "335aeb85-215e-40ca-b165-d6fea6fac271",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.781
13:16:42.871 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "335aeb85-215e-40ca-b165-d6fea6fac271",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": ""
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.648 response time in milliseconds: 1775
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:44",
  "timestamp": 1733512604,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "335aeb85-215e-40ca-b165-d6fea6fac271",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126036376120804974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:43.135 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.861
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:43.139 [print] Request: {
  "transaction_id": "45bcf753-e027-4efe-8216-f32a5727ca6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = null 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.858
13:16:43.144 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "45bcf753-e027-4efe-8216-f32a5727ca6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": null
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:45.998 response time in milliseconds: 2853
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:56 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:46",
  "timestamp": 1733512606,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "45bcf753-e027-4efe-8216-f32a5727ca6d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126039336560304970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:44.488 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.266
Scenario Outline Validate purchase.shipping_address.zip_code
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:44.491 [print] Request: {
  "transaction_id": "6787b581-3637-4e52-aeff-276eb26c70ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.shipping_address.zip_code = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.264
13:16:44.492 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6787b581-3637-4e52-aeff-276eb26c70ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "2024-11-07T19:36:25-06:00"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.755 response time in milliseconds: 261
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Content-Length: 237
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "shipping_address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 261, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:45","timestamp":1733512605,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"zip_code":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:566
13:16:44.757 classpath:claroscore/features/Motor.feature:566
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 261, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:45","timestamp":1733512605,"message":"invalid transaction request","errors":{"purchase":{"shipping_address":{"zip_code":"must contain Spanish letters and digits only"}}}}

classpath:claroscore/features/Motor.feature:566
0.001
* url apiURL 0.000
13:16:44.657 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.128
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.011
13:16:44.671 [print] Request: {
  "transaction_id": "917bab0c-cad5-45c1-b426-e691ee95d34a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = 1 0.006
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.110
13:16:44.680 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "917bab0c-cad5-45c1-b426-e691ee95d34a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": 1,
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.788 response time in milliseconds: 106
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:44.658 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.290
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.008
13:16:44.671 [print] Request: {
  "transaction_id": "d6785438-a121-4d4c-a2bc-2baf4cc9d02d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = '#(java.util.UUID.randomUUID().toString())' 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.278
13:16:44.677 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d6785438-a121-4d4c-a2bc-2baf4cc9d02d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "#(java.util.UUID.randomUUID().toString())",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:44.952 response time in milliseconds: 274
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Content-Length: 231
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "ean_upc": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:44.766 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.853
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:16:44.775 [print] Request: {
  "transaction_id": "f0336ec9-e782-4d00-afc6-31897e566f13",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = "123" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.848
13:16:44.782 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f0336ec9-e782-4d00-afc6-31897e566f13",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "123",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:46.625 response time in milliseconds: 1842
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:46",
  "timestamp": 1733512606,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f0336ec9-e782-4d00-afc6-31897e566f13",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126055146975004989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:44.795 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.710
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:44.798 [print] Request: {
  "transaction_id": "1e6beecc-6893-4571-9cfb-6d8915bf2f99",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.708
13:16:44.803 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1e6beecc-6893-4571-9cfb-6d8915bf2f99",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:46.507 response time in milliseconds: 1703
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:46",
  "timestamp": 1733512606,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1e6beecc-6893-4571-9cfb-6d8915bf2f99",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126056036123304974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:44.928 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.989
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:44.931 [print] Request: {
  "transaction_id": "19c32ece-51d2-4c71-bfff-057b70a73b56",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.988
13:16:44.933 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "19c32ece-51d2-4c71-bfff-057b70a73b56",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": null,
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:46.920 response time in milliseconds: 1985
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:57 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:47",
  "timestamp": 1733512607,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "19c32ece-51d2-4c71-bfff-057b70a73b56",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126058466492604988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:44.959 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.317
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:44.963 [print] Request: {
  "transaction_id": "75552b43-33a8-4f87-b820-8e8e7d789bf7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].ean_upc = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.316
13:16:44.966 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "75552b43-33a8-4f87-b820-8e8e7d789bf7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "2024-11-07T19:36:25-06:00",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:45.280 response time in milliseconds: 312
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Content-Length: 231
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "ean_upc": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:45.289 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.094
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:45.293 [print] Request: {
  "transaction_id": "9ecd2cb6-be87-4559-a10e-72933e40c1c4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.093
13:16:45.294 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1532
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9ecd2cb6-be87-4559-a10e-72933e40c1c4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": 1,
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:45.386 response time in milliseconds: 90
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:55 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:45.393 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.600
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:45.395 [print] Request: {
  "transaction_id": "38f4a3c1-898e-4b06-9bc6-b2ca8eb48d79",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.599
13:16:45.399 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1574
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "38f4a3c1-898e-4b06-9bc6-b2ca8eb48d79",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "#(java.util.UUID.randomUUID().toString())",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:45.995 response time in milliseconds: 596
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:56 GMT
1 < Content-Type: application/json
1 < Content-Length: 227
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:45",
  "timestamp": 1733512605,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "sku": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:46.004 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.834
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:46.008 [print] Request: {
  "transaction_id": "6aed557f-6ea7-4d9d-acf9-c6b81bf75a3f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = "123456789123" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.833
13:16:46.010 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6aed557f-6ea7-4d9d-acf9-c6b81bf75a3f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "123456789123",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:47.841 response time in milliseconds: 1829
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:48",
  "timestamp": 1733512608,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6aed557f-6ea7-4d9d-acf9-c6b81bf75a3f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126068036932604981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:46.005 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.844
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:46.008 [print] Request: {
  "transaction_id": "70eba765-e0f5-488e-8382-5cc93f2292d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.843
13:16:46.010 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1533
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70eba765-e0f5-488e-8382-5cc93f2292d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:47.852 response time in milliseconds: 1840
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:58 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:48",
  "timestamp": 1733512608,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70eba765-e0f5-488e-8382-5cc93f2292d5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335126067966774904980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:46.510 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.151
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:46.512 [print] Request: {
  "transaction_id": "7f1d54b9-e2ab-4d0b-85a5-a3b4c63af78a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.151
13:16:46.516 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1535
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7f1d54b9-e2ab-4d0b-85a5-a3b4c63af78a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": null,
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:48.663 response time in milliseconds: 2145
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:48",
  "timestamp": 1733512608,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7f1d54b9-e2ab-4d0b-85a5-a3b4c63af78a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335126074346232404973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:46.628 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.290
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:46.631 [print] Request: {
  "transaction_id": "1252827e-278d-431d-a582-b2f53b60d85c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].sku = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.288
13:16:46.632 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1558
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1252827e-278d-431d-a582-b2f53b60d85c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "2024-11-07T19:36:25-06:00",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:46.919 response time in milliseconds: 286
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:57 GMT
1 < Content-Type: application/json
1 < Content-Length: 227
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:47",
  "timestamp": 1733512607,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "sku": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:46.928 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.130
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:46.932 [print] Request: {
  "transaction_id": "5622b86c-2794-4a22-80b7-ba13857a6447",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.127
13:16:46.933 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1542
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5622b86c-2794-4a22-80b7-ba13857a6447",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": 1,
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:47.059 response time in milliseconds: 124
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:57 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:47",
  "timestamp": 1733512607,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:46.928 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.601
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:46.932 [print] Request: {
  "transaction_id": "1d103aee-9e92-4240-8a24-87e3e3395247",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.599
13:16:46.933 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1584
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1d103aee-9e92-4240-8a24-87e3e3395247",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "#(java.util.UUID.randomUUID().toString())",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:47.531 response time in milliseconds: 597
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:58 GMT
1 < Content-Type: application/json
1 < Content-Length: 228
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:47",
  "timestamp": 1733512607,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "name": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:47.066 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.796
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:47.069 [print] Request: {
  "transaction_id": "34bb0100-fdc6-445d-9be9-2b4362ab8e68",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.795
13:16:47.070 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "34bb0100-fdc6-445d-9be9-2b4362ab8e68",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:48.864 response time in milliseconds: 1792
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "34bb0100-fdc6-445d-9be9-2b4362ab8e68",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126078676775904980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:47.537 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.940
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:47.541 [print] Request: {
  "transaction_id": "ee9be509-ca78-4e89-b713-67b0bcd6ca83",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.937
13:16:47.545 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ee9be509-ca78-4e89-b713-67b0bcd6ca83",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.480 response time in milliseconds: 1933
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ee9be509-ca78-4e89-b713-67b0bcd6ca83",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126083396934004981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:47.855 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.834
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:16:47.862 [print] Request: {
  "transaction_id": "cfd859b6-3150-4936-acfe-2e9ac3436c03",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:16:47.866 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cfd859b6-3150-4936-acfe-2e9ac3436c03",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": null,
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.692 response time in milliseconds: 1824
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "cfd859b6-3150-4936-acfe-2e9ac3436c03",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126086476174604956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:47.856 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.290
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:47.859 [print] Request: {
  "transaction_id": "90fd0efc-f7d0-45ec-bd70-59bb3b97104b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].name = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.289
13:16:47.863 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1568
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "90fd0efc-f7d0-45ec-bd70-59bb3b97104b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "2024-11-07T19:36:25-06:00",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:48.149 response time in milliseconds: 284
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:58 GMT
1 < Content-Type: application/json
1 < Content-Length: 228
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:48",
  "timestamp": 1733512608,
  "message": "invalid transaction request",
  "errors": {
    "purchase": {
      "items": {
        "0": {
          "name": "must contain Spanish letters and digits only"
        }
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:48.155 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.820
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:48.158 [print] Request: {
  "transaction_id": "9c8ecb51-6b38-4b53-87e3-e232a0437132",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.819
13:16:48.159 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9c8ecb51-6b38-4b53-87e3-e232a0437132",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.977 response time in milliseconds: 1815
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9c8ecb51-6b38-4b53-87e3-e232a0437132",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126091026566404970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:48.670 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.101
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:48.673 [print] Request: {
  "transaction_id": "9128ff59-1ba6-41de-99fb-45838cc91990",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.100
13:16:48.675 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1591
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9128ff59-1ba6-41de-99fb-45838cc91990",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": "#(java.util.UUID.randomUUID().toString())",
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:48.774 response time in milliseconds: 99
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:48.776 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.095
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:48.777 [print] Request: {
  "transaction_id": "2d703eb5-181a-4188-9301-6944dc1863a3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.094
13:16:48.779 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2d703eb5-181a-4188-9301-6944dc1863a3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": "Prod_1",
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:48.871 response time in milliseconds: 82
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:48.873 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.140
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.025
13:16:48.903 [print] Request: {
  "transaction_id": "cb2cba1c-eb41-4e74-b6a1-9ef2b960971d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.114
13:16:48.916 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cb2cba1c-eb41-4e74-b6a1-9ef2b960971d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": "",
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.018 response time in milliseconds: 101
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:16:48.923 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.781
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:16:48.932 [print] Request: {
  "transaction_id": "380f2567-19c3-4d86-b2d8-a3b6b710ada5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = null 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.776
13:16:48.937 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "380f2567-19c3-4d86-b2d8-a3b6b710ada5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": null,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:50.710 response time in milliseconds: 1771
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "380f2567-19c3-4d86-b2d8-a3b6b710ada5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126097336142604984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:49.033 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.111
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.036 [print] Request: {
  "transaction_id": "8fdaf155-d5d5-44a7-b7d8-82d544f68402",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].quantity = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.110
13:16:49.053 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1575
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8fdaf155-d5d5-44a7-b7d8-82d544f68402",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": "2024-11-07T19:36:25-06:00",
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.146 response time in milliseconds: 90
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:41:59 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:49.156 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.854
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:16:49.165 [print] Request: {
  "transaction_id": "418eedf6-0978-47f5-8a54-7c60c82d7f4c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.849
13:16:49.172 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "418eedf6-0978-47f5-8a54-7c60c82d7f4c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 1
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.015 response time in milliseconds: 1842
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:51",
  "timestamp": 1733512611,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "418eedf6-0978-47f5-8a54-7c60c82d7f4c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126098626518304975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:49.487 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.079
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.490 [print] Request: {
  "transaction_id": "16984ce5-862a-4014-bff4-43bbdae7bc5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.078
13:16:49.493 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1589
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "16984ce5-862a-4014-bff4-43bbdae7bc5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": "#(java.util.UUID.randomUUID().toString())"
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.569 response time in milliseconds: 74
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:49.574 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.095
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.576 [print] Request: {
  "transaction_id": "9f0f4db1-00e8-4952-80f9-bf54dc2b8c26",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = "Prod_1" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.093
13:16:49.582 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9f0f4db1-00e8-4952-80f9-bf54dc2b8c26",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": "Prod_1"
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.671 response time in milliseconds: 86
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:49",
  "timestamp": 1733512609,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:49.678 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.132
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:16:49.683 [print] Request: {
  "transaction_id": "97adec45-1cc9-44cf-9243-c5a221106cc8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.128
13:16:49.692 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "97adec45-1cc9-44cf-9243-c5a221106cc8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": ""
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.813 response time in milliseconds: 120
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:49.699 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.621
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.704 [print] Request: {
  "transaction_id": "896946c7-93c5-4c92-b65b-35210d8e8dad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.620
13:16:49.708 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "896946c7-93c5-4c92-b65b-35210d8e8dad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": null
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.325 response time in milliseconds: 1617
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:01 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:51",
  "timestamp": 1733512611,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "896946c7-93c5-4c92-b65b-35210d8e8dad",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126105096110504986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:49.817 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.092
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.820 [print] Request: {
  "transaction_id": "18abeaad-b5d8-4489-b67f-aa31e0763ff3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.items[0].unit_amount = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.091
13:16:49.824 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "18abeaad-b5d8-4489-b67f-aa31e0763ff3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": "2024-11-07T19:36:25-06:00"
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:49.912 response time in milliseconds: 86
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:49.916 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.107
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.917 [print] Request: {
  "transaction_id": "fc8a7319-4e3e-47c9-9e82-20fc7a3c7b70",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.106
13:16:49.920 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1512
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fc8a7319-4e3e-47c9-9e82-20fc7a3c7b70",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": 1,
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:50.024 response time in milliseconds: 103
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:00 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:50",
  "timestamp": 1733512610,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:49.984 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.746
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:49.986 [print] Request: {
  "transaction_id": "3538e100-274a-4bbc-b187-8887f1a4f10f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.745
13:16:49.989 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3538e100-274a-4bbc-b187-8887f1a4f10f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "#(java.util.UUID.randomUUID().toString())",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.731 response time in milliseconds: 1740
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:51",
  "timestamp": 1733512611,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "3538e100-274a-4bbc-b187-8887f1a4f10f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126106756779104980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:50.032 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.863
Scenario Outline Validate client.id
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:50.034 [print] Request: {
  "transaction_id": "96d130cf-f17f-4563-85a1-99157659c4a3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.862
13:16:50.035 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1519
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "96d130cf-f17f-4563-85a1-99157659c4a3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "Prod_1",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.897 response time in milliseconds: 1860
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:02 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:52",
  "timestamp": 1733512612,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "96d130cf-f17f-4563-85a1-99157659c4a3",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126108126421504976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1860, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:52","timestamp":1733512612,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"96d130cf-f17f-4563-85a1-99157659c4a3","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126108126421504976","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:695
13:16:51.898 classpath:claroscore/features/Motor.feature:695
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1860, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:52","timestamp":1733512612,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"96d130cf-f17f-4563-85a1-99157659c4a3","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126108126421504976","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:695
0.001
* url apiURL 0.000
13:16:50.713 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.300
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:50.716 [print] Request: {
  "transaction_id": "29a82fb6-006d-4eb7-95f9-8f14b7ac8ac1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.299
13:16:50.719 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1513
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "29a82fb6-006d-4eb7-95f9-8f14b7ac8ac1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.015 response time in milliseconds: 295
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:01 GMT
1 < Content-Type: application/json
1 < Content-Length: 179
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:51",
  "timestamp": 1733512611,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "id": "cannot be blank"
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:51.020 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.299
Scenario Outline Validate client.id
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:51.022 [print] Request: {
  "transaction_id": "351190f3-5ac9-4d5d-aff0-b1bccf9a1f8a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.299
13:16:51.023 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1515
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "351190f3-5ac9-4d5d-aff0-b1bccf9a1f8a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": null,
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:51.321 response time in milliseconds: 297
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:01 GMT
1 < Content-Type: application/json
1 < Content-Length: 179
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:51",
  "timestamp": 1733512611,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "id": "cannot be blank"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 297, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:51","timestamp":1733512611,"message":"invalid transaction request","errors":{"client":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:695
13:16:51.322 classpath:claroscore/features/Motor.feature:695
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 297, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:51","timestamp":1733512611,"message":"invalid transaction request","errors":{"client":{"id":"cannot be blank"}}}

classpath:claroscore/features/Motor.feature:695
0.000
* url apiURL 0.000
13:16:51.020 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.039
Scenario Outline Validate client.id
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:51.022 [print] Request: {
  "transaction_id": "2feb679b-03c9-40b6-84ad-150b1594e7f1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.id = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.039
13:16:51.023 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2feb679b-03c9-40b6-84ad-150b1594e7f1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "2024-11-07T19:36:25-06:00",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.061 response time in milliseconds: 2037
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2feb679b-03c9-40b6-84ad-150b1594e7f1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335126119066500504988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2037, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2feb679b-03c9-40b6-84ad-150b1594e7f1","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"8"},"decision_manager":{"id":"7335126119066500504988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:695
13:16:53.062 classpath:claroscore/features/Motor.feature:695
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2037, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2feb679b-03c9-40b6-84ad-150b1594e7f1","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"8"},"decision_manager":{"id":"7335126119066500504988","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:695
0.000
* url apiURL 0.000
13:16:51.324 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.807
Scenario Outline Validate client.created
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:51.326 [print] Request: {
  "transaction_id": "e329bf77-e6bc-44ef-a4e8-a01bfbb1e8f9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.805
13:16:51.329 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1523
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e329bf77-e6bc-44ef-a4e8-a01bfbb1e8f9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": 1,
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.133 response time in milliseconds: 1803
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:03 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "e329bf77-e6bc-44ef-a4e8-a01bfbb1e8f9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126121236570804970",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1803, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"e329bf77-e6bc-44ef-a4e8-a01bfbb1e8f9","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126121236570804970","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
13:16:53.133 classpath:claroscore/features/Motor.feature:716
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1803, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"e329bf77-e6bc-44ef-a4e8-a01bfbb1e8f9","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126121236570804970","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
0.040
* url apiURL 0.000
13:16:51.330 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.038
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.097
Scenario Outline Validate client.created
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:51.373 [print] Request: {
  "transaction_id": "ddf277a7-c08a-4c00-bc44-698bf3a5a47a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.096
13:16:51.375 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ddf277a7-c08a-4c00-bc44-698bf3a5a47a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "#(java.util.UUID.randomUUID().toString())",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.470 response time in milliseconds: 2094
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ddf277a7-c08a-4c00-bc44-698bf3a5a47a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126122906232504977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2094, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"ddf277a7-c08a-4c00-bc44-698bf3a5a47a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126122906232504977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
13:16:53.471 classpath:claroscore/features/Motor.feature:716
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2094, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"ddf277a7-c08a-4c00-bc44-698bf3a5a47a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126122906232504977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
0.004
* url apiURL 0.000
13:16:51.740 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.849
Scenario Outline Validate client.created
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:51.748 [print] Request: {
  "transaction_id": "994017eb-41d3-43b9-9018-7519034068b1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = "Prod_1" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.845
13:16:51.753 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1530
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "994017eb-41d3-43b9-9018-7519034068b1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "Prod_1",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.595 response time in milliseconds: 1837
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "994017eb-41d3-43b9-9018-7519034068b1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126125666233004977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1837, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"994017eb-41d3-43b9-9018-7519034068b1","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126125666233004977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
13:16:53.596 classpath:claroscore/features/Motor.feature:716
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1837, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"994017eb-41d3-43b9-9018-7519034068b1","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126125666233004977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
0.001
* url apiURL 0.000
13:16:51.902 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.695
Scenario Outline Validate client.created
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:51.904 [print] Request: {
  "transaction_id": "170cdc7e-e076-4f2e-a0a5-da1a89d45c41",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.694
13:16:51.905 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1524
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "170cdc7e-e076-4f2e-a0a5-da1a89d45c41",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.594 response time in milliseconds: 1687
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "170cdc7e-e076-4f2e-a0a5-da1a89d45c41",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126126636275104953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1687, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"170cdc7e-e076-4f2e-a0a5-da1a89d45c41","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126126636275104953","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
13:16:53.600 classpath:claroscore/features/Motor.feature:716
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1687, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:53","timestamp":1733512613,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"170cdc7e-e076-4f2e-a0a5-da1a89d45c41","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126126636275104953","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:716
0.000
* url apiURL 0.000
13:16:53.065 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.939
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.067 [print] Request: {
  "transaction_id": "6bb083ca-32a6-4dca-85d1-bd55d1b4e296",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.939
13:16:53.068 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1526
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6bb083ca-32a6-4dca-85d1-bd55d1b4e296",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": null,
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.006 response time in milliseconds: 1937
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:05 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6bb083ca-32a6-4dca-85d1-bd55d1b4e296",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335126138286095404960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:16:53.135 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.343
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.136 [print] Request: {
  "transaction_id": "27e357ea-d9cc-4c7e-9ca2-d6c387a4a34d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.created = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.343
13:16:53.137 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "27e357ea-d9cc-4c7e-9ca2-d6c387a4a34d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.479 response time in milliseconds: 2341
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "27e357ea-d9cc-4c7e-9ca2-d6c387a4a34d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335126138126992904978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:16:53.472 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.107
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.474 [print] Request: {
  "transaction_id": "bb9d3c0b-ddf5-4da1-8b77-23e6f334b3ea",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.106
13:16:53.477 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb9d3c0b-ddf5-4da1-8b77-23e6f334b3ea",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": 1,
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.578 response time in milliseconds: 98
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:53",
  "timestamp": 1733512613,
  "message": "invalid body request"
}


Then status 400 0.000
0.009
* url apiURL 0.000
13:16:53.594 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.274
Scenario Outline Validate client.name
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.605 [print] Request: {
  "transaction_id": "c9c9ca63-9fe9-4cb3-baf9-bee16c433b1e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.272
13:16:53.617 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1583
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c9c9ca63-9fe9-4cb3-baf9-bee16c433b1e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "#(java.util.UUID.randomUUID().toString())",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.879 response time in milliseconds: 261
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Content-Length: 194
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:54",
  "timestamp": 1733512614,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "name": "must contain Spanish letters"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 261, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:54","timestamp":1733512614,"message":"invalid transaction request","errors":{"client":{"name":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:736
13:16:53.879 classpath:claroscore/features/Motor.feature:736
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 261, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:54","timestamp":1733512614,"message":"invalid transaction request","errors":{"client":{"name":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:736
0.001
* url apiURL 0.000
13:16:53.621 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.278
* def peticion = requestBody 0.002
* print 'Request:', peticion 0.006
13:16:53.632 [print] Request: {
  "transaction_id": "f3ee4062-d7d6-4ace-b7ff-7641a1bd2a97",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.269
13:16:53.651 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f3ee4062-d7d6-4ace-b7ff-7641a1bd2a97",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "Prod_1",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:53.902 response time in milliseconds: 249
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Content-Length: 194
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:54",
  "timestamp": 1733512614,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "name": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:53.617 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.794
Scenario Outline Validate client.name
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.006
13:16:53.627 [print] Request: {
  "transaction_id": "a75cc2ef-d75c-48ad-a07d-d9394c7d9a25",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.787
13:16:53.649 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1542
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a75cc2ef-d75c-48ad-a07d-d9394c7d9a25",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.415 response time in milliseconds: 1766
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:05 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a75cc2ef-d75c-48ad-a07d-d9394c7d9a25",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1766, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:55","timestamp":1733512615,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a75cc2ef-d75c-48ad-a07d-d9394c7d9a25","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:736
13:16:55.416 classpath:claroscore/features/Motor.feature:736
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1766, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:55","timestamp":1733512615,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a75cc2ef-d75c-48ad-a07d-d9394c7d9a25","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:736
0.001
* url apiURL 0.000
13:16:53.881 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.144
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.884 [print] Request: {
  "transaction_id": "ae23e173-407b-4a3a-9755-f093285a219b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.143
13:16:53.887 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ae23e173-407b-4a3a-9755-f093285a219b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": null,
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.026 response time in milliseconds: 2136
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ae23e173-407b-4a3a-9755-f093285a219b",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:53.909 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.273
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:53.913 [print] Request: {
  "transaction_id": "ddae42f1-5d8e-4e79-8e9c-9e2c6cb2aa49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.name = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.272
13:16:53.915 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1567
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ddae42f1-5d8e-4e79-8e9c-9e2c6cb2aa49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "2024-11-07T19:36:25-06:00",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:54.186 response time in milliseconds: 271
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:04 GMT
1 < Content-Type: application/json
1 < Content-Length: 194
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:54",
  "timestamp": 1733512614,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "name": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:54.191 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.223
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:54.196 [print] Request: {
  "transaction_id": "2d9a7cbe-e992-4b2f-9f1d-20f81b32a540",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.221
13:16:54.201 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2d9a7cbe-e992-4b2f-9f1d-20f81b32a540",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": 1,
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:54.419 response time in milliseconds: 212
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:05 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:54",
  "timestamp": 1733512614,
  "message": "invalid body request"
}


Then status 400 0.000
0.006
* url apiURL 0.000
13:16:54.429 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.001
* requestBody.transaction_id = uuid 0.000
0.261
Scenario Outline Validate client.paternal_surname
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.005
13:16:54.443 [print] Request: {
  "transaction_id": "02d95720-f169-4a5f-992d-2c6aa4dacafb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = '#(java.util.UUID.randomUUID().toString())' 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.252
13:16:54.459 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1583
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "02d95720-f169-4a5f-992d-2c6aa4dacafb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "#(java.util.UUID.randomUUID().toString())",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:54.700 response time in milliseconds: 239
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:05 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:54",
  "timestamp": 1733512614,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "paternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 239, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:54","timestamp":1733512614,"message":"invalid transaction request","errors":{"client":{"paternal_surname":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:758
13:16:54.700 classpath:claroscore/features/Motor.feature:758
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 239, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:54","timestamp":1733512614,"message":"invalid transaction request","errors":{"client":{"paternal_surname":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:758
0.001
* url apiURL 0.000
13:16:54.703 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.301
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:54.705 [print] Request: {
  "transaction_id": "f8cbf062-df9a-495a-9d7d-5ac7f43ad9f2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.301
13:16:54.708 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f8cbf062-df9a-495a-9d7d-5ac7f43ad9f2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Prod_1",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.006 response time in milliseconds: 297
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:05 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "paternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:55.011 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.709
Scenario Outline Validate client.paternal_surname
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:55.015 [print] Request: {
  "transaction_id": "a9af5942-5904-4fce-987f-9acabc3f3d99",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.707
13:16:55.019 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1542
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a9af5942-5904-4fce-987f-9acabc3f3d99",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.723 response time in milliseconds: 1702
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:07 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:57",
  "timestamp": 1733512617,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a9af5942-5904-4fce-987f-9acabc3f3d99",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1702, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:57","timestamp":1733512617,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a9af5942-5904-4fce-987f-9acabc3f3d99","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:758
13:16:56.725 classpath:claroscore/features/Motor.feature:758
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1702, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:57","timestamp":1733512617,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"a9af5942-5904-4fce-987f-9acabc3f3d99","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:758
0.002
* url apiURL 0.000
13:16:55.011 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.466
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.004
13:16:55.019 [print] Request: {
  "transaction_id": "bb0b791e-474d-4324-ae2e-f6918969b632",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.461
13:16:55.021 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bb0b791e-474d-4324-ae2e-f6918969b632",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": null,
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.480 response time in milliseconds: 1456
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:07 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "bb0b791e-474d-4324-ae2e-f6918969b632",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:55.419 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.213
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:16:55.426 [print] Request: {
  "transaction_id": "a782c2f6-7982-4ee5-a539-b5f5f90e3fa0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.paternal_surname = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.209
13:16:55.429 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1567
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a782c2f6-7982-4ee5-a539-b5f5f90e3fa0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "2024-11-07T19:36:25-06:00",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.635 response time in milliseconds: 201
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "paternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:55.483 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.116
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:55.486 [print] Request: {
  "transaction_id": "f418e8d7-10d7-4757-b094-388f3896332a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.116
13:16:55.488 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1539
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f418e8d7-10d7-4757-b094-388f3896332a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": 1,
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.595 response time in milliseconds: 104
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:55",
  "timestamp": 1733512615,
  "message": "invalid body request"
}


Then status 400 0.000
0.008
* url apiURL 0.000
13:16:55.617 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.007
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.302
Scenario Outline Validate client.maternal_surname
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:55.628 [print] Request: {
  "transaction_id": "5c173da9-7f72-439c-ba99-b79082fd2d3c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.300
13:16:55.651 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1581
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5c173da9-7f72-439c-ba99-b79082fd2d3c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "#(java.util.UUID.randomUUID().toString())",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.929 response time in milliseconds: 276
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "maternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 276, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:56","timestamp":1733512616,"message":"invalid transaction request","errors":{"client":{"maternal_surname":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:780
13:16:55.930 classpath:claroscore/features/Motor.feature:780
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 276, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:56","timestamp":1733512616,"message":"invalid transaction request","errors":{"client":{"maternal_surname":"must contain Spanish letters"}}}

classpath:claroscore/features/Motor.feature:780
0.002
* url apiURL 0.000
13:16:55.644 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.282
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:55.648 [print] Request: {
  "transaction_id": "e0d9a211-2cbe-40a7-b741-265db73a25da",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = "Prod_1" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.281
13:16:55.658 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e0d9a211-2cbe-40a7-b741-265db73a25da",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Prod_1",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:55.929 response time in milliseconds: 269
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:06 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "maternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:55.933 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.942
Scenario Outline Validate client.maternal_surname
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:55.937 [print] Request: {
  "transaction_id": "37017735-3f52-4a9e-a16e-75a4fc451991",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.941
13:16:55.941 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "37017735-3f52-4a9e-a16e-75a4fc451991",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:57.878 response time in milliseconds: 1935
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "37017735-3f52-4a9e-a16e-75a4fc451991",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126167526280804953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1935, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"37017735-3f52-4a9e-a16e-75a4fc451991","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126167526280804953","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:780
13:16:57.880 classpath:claroscore/features/Motor.feature:780
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1935, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"37017735-3f52-4a9e-a16e-75a4fc451991","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"6"},"decision_manager":{"id":"7335126167526280804953","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:780
0.002
* url apiURL 0.000
13:16:55.933 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.511
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:55.937 [print] Request: {
  "transaction_id": "83871e09-0408-4f11-a6c9-584b37e20210",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.509
13:16:55.942 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1542
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "83871e09-0408-4f11-a6c9-584b37e20210",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": null,
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.447 response time in milliseconds: 2504
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "83871e09-0408-4f11-a6c9-584b37e20210",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126166496244604973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:56.032 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.400
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.034 [print] Request: {
  "transaction_id": "e3427db9-e75d-4fec-9202-c1da84fb706c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.maternal_surname = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.400
13:16:56.037 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1565
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e3427db9-e75d-4fec-9202-c1da84fb706c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "2024-11-07T19:36:25-06:00",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.434 response time in milliseconds: 396
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:07 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "maternal_surname": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:56.438 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.111
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.441 [print] Request: {
  "transaction_id": "1486467a-4245-46fb-a4b7-4c95b48609aa",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.109
13:16:56.445 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1535
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1486467a-4245-46fb-a4b7-4c95b48609aa",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": 1,
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.551 response time in milliseconds: 105
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:07 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:56.487 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.193
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.489 [print] Request: {
  "transaction_id": "d8ea26e2-f3b5-4a58-b515-bd485cde9c30",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.192
13:16:56.491 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1577
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d8ea26e2-f3b5-4a58-b515-bd485cde9c30",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "#(java.util.UUID.randomUUID().toString())",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:56.681 response time in milliseconds: 187
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:07 GMT
1 < Content-Type: application/json
1 < Content-Length: 196
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:56",
  "timestamp": 1733512616,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "email": "must be a valid email address"
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:56.554 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.330
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.556 [print] Request: {
  "transaction_id": "ed7994ea-04d9-469e-b886-086390fa45cc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = "test@example.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.328
13:16:56.559 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1552
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ed7994ea-04d9-469e-b886-086390fa45cc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "test@example.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.878 response time in milliseconds: 2316
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "ed7994ea-04d9-469e-b886-086390fa45cc",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "domain_category": "Parked & For Sale Domains",
    "domain_corporate": "No",
    "domain_exists": "Yes",
    "domain_name": "example.com",
    "domain_risk_level": "Moderate",
    "ea_advice": "Fraud Review",
    "ea_reason": "High Risk Email Account",
    "ea_reason_id": "26",
    "ea_risk_band_id": "5",
    "ea_score": "809",
    "email_exists": "Not Anymore",
    "first_seen_days": "4893",
    "first_verification_date": "07/15/2011",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126172406245304973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "97",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Suspiciously high number of different e-mails",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:16:56.686 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.356
Scenario Outline Validate client.email
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.688 [print] Request: {
  "transaction_id": "2bb66fde-fc7d-4f65-9b60-881bdaab0352",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.355
13:16:56.690 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1536
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2bb66fde-fc7d-4f65-9b60-881bdaab0352",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.042 response time in milliseconds: 1351
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2bb66fde-fc7d-4f65-9b60-881bdaab0352",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1351, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2bb66fde-fc7d-4f65-9b60-881bdaab0352","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:802
13:16:58.044 classpath:claroscore/features/Motor.feature:802
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1351, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2bb66fde-fc7d-4f65-9b60-881bdaab0352","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:802
0.001
* url apiURL 0.000
13:16:56.732 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.184
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:56.735 [print] Request: {
  "transaction_id": "83ce473e-c49f-4ab2-987a-1e214c087710",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.183
13:16:56.736 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "83ce473e-c49f-4ab2-987a-1e214c087710",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": null,
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:57.918 response time in milliseconds: 1182
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "83ce473e-c49f-4ab2-987a-1e214c087710",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:16:57.884 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.181
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:57.886 [print] Request: {
  "transaction_id": "b046cb51-a1eb-4b04-bcae-49da75f55bb8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.email = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.180
13:16:57.887 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1561
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b046cb51-a1eb-4b04-bcae-49da75f55bb8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "2024-11-07T19:36:25-06:00",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.066 response time in milliseconds: 177
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 196
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "email": "must be a valid email address"
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:57.924 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.086
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:57.928 [print] Request: {
  "transaction_id": "366d3f43-3709-48b5-a9f6-c0e4e7324795",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.084
13:16:57.932 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "366d3f43-3709-48b5-a9f6-c0e4e7324795",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": 1,
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.013 response time in milliseconds: 79
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:58.023 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.205
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:58.028 [print] Request: {
  "transaction_id": "62480ad0-de65-4203-8323-ee8f1033f079",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.203
13:16:58.032 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "62480ad0-de65-4203-8323-ee8f1033f079",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "#(java.util.UUID.randomUUID().toString())",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.231 response time in milliseconds: 198
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 209
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "country_code": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:58.050 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.223
Scenario Outline Validate client.phone.country_code
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.054 [print] Request: {
  "transaction_id": "b27c20e0-5895-43b5-88ff-366a4babf0de",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = "test@example.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.222
13:16:58.057 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b27c20e0-5895-43b5-88ff-366a4babf0de",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "test@example.com",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.277 response time in milliseconds: 220
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:08 GMT
1 < Content-Type: application/json
1 < Content-Length: 209
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "country_code": "must be an integer number"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 220, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"message":"invalid transaction request","errors":{"client":{"phone":{"country_code":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:824
13:16:58.278 classpath:claroscore/features/Motor.feature:824
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 220, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:58","timestamp":1733512618,"message":"invalid transaction request","errors":{"client":{"phone":{"country_code":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:824
0.001
* url apiURL 0.000
13:16:58.074 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.359
Scenario Outline Validate client.phone.country_code
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.077 [print] Request: {
  "transaction_id": "f1432333-c295-45fd-94a1-3919d069b292",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.358
13:16:58.079 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f1432333-c295-45fd-94a1-3919d069b292",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.435 response time in milliseconds: 2354
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f1432333-c295-45fd-94a1-3919d069b292",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126188516241804977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2354, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"f1432333-c295-45fd-94a1-3919d069b292","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126188516241804977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:824
13:17:00.436 classpath:claroscore/features/Motor.feature:824
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2354, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"f1432333-c295-45fd-94a1-3919d069b292","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126188516241804977","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:824
0.001
* url apiURL 0.000
13:16:58.239 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.884
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.243 [print] Request: {
  "transaction_id": "909b30d9-fe16-4e48-857d-7dfea4a9dd7d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.883
13:16:58.244 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "909b30d9-fe16-4e48-857d-7dfea4a9dd7d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": null,
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.126 response time in milliseconds: 1882
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:10 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "909b30d9-fe16-4e48-857d-7dfea4a9dd7d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126189356927404985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:16:58.282 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.216
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.286 [print] Request: {
  "transaction_id": "befc7c8d-ce40-4ed0-8f9f-2610378250ad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.country_code = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.214
13:16:58.291 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "befc7c8d-ce40-4ed0-8f9f-2610378250ad",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "2024-11-07T19:36:25-06:00",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.502 response time in milliseconds: 210
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 209
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "country_code": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:58.452 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.109
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:16:58.460 [print] Request: {
  "transaction_id": "a3e7a990-5462-4ede-b566-ba674983ea45",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.105
13:16:58.465 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a3e7a990-5462-4ede-b566-ba674983ea45",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": 1,
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.567 response time in milliseconds: 102
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:58",
  "timestamp": 1733512618,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:16:58.507 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.209
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.512 [print] Request: {
  "transaction_id": "42d2e635-77a4-43a9-af0e-9c444220118a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.208
13:16:58.515 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "42d2e635-77a4-43a9-af0e-9c444220118a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "#(java.util.UUID.randomUUID().toString())",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.721 response time in milliseconds: 204
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "area_code": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:58.569 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.339
Scenario Outline Validate client.phone.area_code
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.572 [print] Request: {
  "transaction_id": "e486f8a9-b71d-4b9c-afec-fd461fdeb739",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = "test@example.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.337
13:16:58.575 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1563
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e486f8a9-b71d-4b9c-afec-fd461fdeb739",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "test@example.com",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:58.910 response time in milliseconds: 333
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "area_code": "must be an integer number"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 333, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:59","timestamp":1733512619,"message":"invalid transaction request","errors":{"client":{"phone":{"area_code":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:845
13:16:58.912 classpath:claroscore/features/Motor.feature:845
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 333, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:16:59","timestamp":1733512619,"message":"invalid transaction request","errors":{"client":{"phone":{"area_code":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:845
0.002
* url apiURL 0.000
13:16:58.728 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.955
Scenario Outline Validate client.phone.area_code
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.732 [print] Request: {
  "transaction_id": "18f221de-d0d9-432a-822a-c0cacc9b1f12",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.954
13:16:58.734 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "18f221de-d0d9-432a-822a-c0cacc9b1f12",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.687 response time in milliseconds: 1951
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "18f221de-d0d9-432a-822a-c0cacc9b1f12",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_status": "Invalid"
  },
  "device_finger": {
    "profile_duration": "8"
  },
  "decision_manager": {
    "id": "7335126196656248604973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1951, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"18f221de-d0d9-432a-822a-c0cacc9b1f12","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_status":"Invalid"},"device_finger":{"profile_duration":"8"},"decision_manager":{"id":"7335126196656248604973","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"99","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:845
13:17:00.688 classpath:claroscore/features/Motor.feature:845
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1951, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"18f221de-d0d9-432a-822a-c0cacc9b1f12","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_status":"Invalid"},"device_finger":{"profile_duration":"8"},"decision_manager":{"id":"7335126196656248604973","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"99","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:845
0.002
* url apiURL 0.000
13:16:58.911 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.604
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:58.926 [print] Request: {
  "transaction_id": "daebca0b-d52a-456f-9231-e5f6e100b406",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = null 0.004
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.599
13:16:58.938 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "daebca0b-d52a-456f-9231-e5f6e100b406",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": null,
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.530 response time in milliseconds: 1591
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "daebca0b-d52a-456f-9231-e5f6e100b406",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_status": "Invalid"
  },
  "device_finger": {
    "profile_duration": "13"
  },
  "decision_manager": {
    "id": "7335126196296088104987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "99",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:16:58.915 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.286
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:16:58.921 [print] Request: {
  "transaction_id": "35adba42-21c3-4fc7-9c1b-0ce50f604c7f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.area_code = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.284
13:16:58.929 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "35adba42-21c3-4fc7-9c1b-0ce50f604c7f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "2024-11-07T19:36:25-06:00",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:59.206 response time in milliseconds: 275
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "area_code": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:16:59.212 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.101
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:59.215 [print] Request: {
  "transaction_id": "5f9fde5a-2a2e-428f-bf16-8c8f592c7718",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.100
13:16:59.216 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5f9fde5a-2a2e-428f-bf16-8c8f592c7718",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": 1
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:59.315 response time in milliseconds: 98
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:09 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "message": "invalid body request"
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:16:59.323 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.219
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:59.329 [print] Request: {
  "transaction_id": "db9544c4-0488-4765-aae8-2fbab1d42d7d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.217
13:16:59.333 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1582
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "db9544c4-0488-4765-aae8-2fbab1d42d7d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "#(java.util.UUID.randomUUID().toString())"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:59.547 response time in milliseconds: 213
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:10 GMT
1 < Content-Type: application/json
1 < Content-Length: 203
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:16:59",
  "timestamp": 1733512619,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:16:59.550 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.269
Scenario Outline Validate client.phone.number
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:59.552 [print] Request: {
  "transaction_id": "b788b880-6de2-4d7a-9045-3405918fd4fc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = "test@example.com" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.269
13:16:59.554 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b788b880-6de2-4d7a-9045-3405918fd4fc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "test@example.com"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:16:59.821 response time in milliseconds: 265
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:10 GMT
1 < Content-Type: application/json
1 < Content-Length: 203
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "number": "must be an integer number"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 265, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"message":"invalid transaction request","errors":{"client":{"phone":{"number":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:867
13:16:59.822 classpath:claroscore/features/Motor.feature:867
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 265, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:00","timestamp":1733512620,"message":"invalid transaction request","errors":{"client":{"phone":{"number":"must be an integer number"}}}}

classpath:claroscore/features/Motor.feature:867
0.001
* url apiURL 0.000
13:16:59.824 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.231
Scenario Outline Validate client.phone.number
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:16:59.826 [print] Request: {
  "transaction_id": "2d4ec8df-da64-4ba0-b95b-230d44baefbe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.230
13:16:59.828 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2d4ec8df-da64-4ba0-b95b-230d44baefbe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": ""
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:01.056 response time in milliseconds: 1226
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2d4ec8df-da64-4ba0-b95b-230d44baefbe",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1226, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:01","timestamp":1733512621,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2d4ec8df-da64-4ba0-b95b-230d44baefbe","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:867
13:17:01.058 classpath:claroscore/features/Motor.feature:867
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1226, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:01","timestamp":1733512621,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"2d4ec8df-da64-4ba0-b95b-230d44baefbe","score_movil":{},"emailage":["No hay informacion disponible"],"device_finger":null,"decision_manager":null}

classpath:claroscore/features/Motor.feature:867
0.000
* url apiURL 0.000
13:17:00.133 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.271
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.135 [print] Request: {
  "transaction_id": "abb44c9d-4d65-4406-881c-21eee4ea93d7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.271
13:17:00.137 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "abb44c9d-4d65-4406-881c-21eee4ea93d7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": null
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:01.406 response time in milliseconds: 1268
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:12 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "abb44c9d-4d65-4406-881c-21eee4ea93d7",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:00.442 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.214
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.445 [print] Request: {
  "transaction_id": "ada5a609-7fe0-40a9-9667-309e7d500dae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.phone.number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.214
13:17:00.447 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ada5a609-7fe0-40a9-9667-309e7d500dae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "2024-11-07T19:36:25-06:00"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.659 response time in milliseconds: 210
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Content-Length: 203
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "phone": {
        "number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:17:00.537 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.111
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.542 [print] Request: {
  "transaction_id": "c3ef95ca-1a3f-487d-82e1-459be472a766",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.110
13:17:00.544 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c3ef95ca-1a3f-487d-82e1-459be472a766",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": 1,
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.652 response time in milliseconds: 106
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:00",
  "timestamp": 1733512620,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:00.661 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.275
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.665 [print] Request: {
  "transaction_id": "6853ce73-d445-4706-8040-d6203dc72304",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.273
13:17:00.666 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1582
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6853ce73-d445-4706-8040-d6203dc72304",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "#(java.util.UUID.randomUUID().toString())",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:00.939 response time in milliseconds: 273
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Content-Length: 224
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:00.663 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.771
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.667 [print] Request: {
  "transaction_id": "95d452b2-a7cd-466a-a568-6605d17991df",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.771
13:17:00.668 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "95d452b2-a7cd-466a-a568-6605d17991df",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "12345",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.437 response time in milliseconds: 1768
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:02",
  "timestamp": 1733512622,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "95d452b2-a7cd-466a-a568-6605d17991df",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126213976837504983",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:00.696 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.619
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.007
13:17:00.708 [print] Request: {
  "transaction_id": "c2cea256-f1be-4303-bebb-5190dfd03423",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.611
13:17:00.710 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c2cea256-f1be-4303-bebb-5190dfd03423",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.320 response time in milliseconds: 1609
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:12 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:02",
  "timestamp": 1733512622,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c2cea256-f1be-4303-bebb-5190dfd03423",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "12"
  },
  "decision_manager": {
    "id": "7335126214066158304984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:00.941 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.744
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:00.943 [print] Request: {
  "transaction_id": "fb515399-98fb-4b13-8b88-c9f8e40d8bee",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.743
13:17:00.946 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fb515399-98fb-4b13-8b88-c9f8e40d8bee",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": null,
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.687 response time in milliseconds: 1739
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:02",
  "timestamp": 1733512622,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fb515399-98fb-4b13-8b88-c9f8e40d8bee",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126216556251004973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:01.061 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.290
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:01.065 [print] Request: {
  "transaction_id": "aa087f4e-84f7-463d-ab1c-73d3e57825a6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.street = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.289
13:17:01.069 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa087f4e-84f7-463d-ab1c-73d3e57825a6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "2024-11-07T19:36:25-06:00",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:01.354 response time in milliseconds: 285
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:11 GMT
1 < Content-Type: application/json
1 < Content-Length: 224
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:01.358 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.093
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:01.361 [print] Request: {
  "transaction_id": "c2755089-63b0-45e5-8226-2977490ea3f8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.091
13:17:01.365 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c2755089-63b0-45e5-8226-2977490ea3f8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": 1,
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:01.454 response time in milliseconds: 89
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:12 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:01.411 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.351
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:01.416 [print] Request: {
  "transaction_id": "c1d07b12-20e5-4878-a969-bd9bbd7e3818",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.350
13:17:01.417 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1589
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c1d07b12-20e5-4878-a969-bd9bbd7e3818",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "#(java.util.UUID.randomUUID().toString())",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:01.766 response time in milliseconds: 347
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:12 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:01",
  "timestamp": 1733512621,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:01.456 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.874
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:01.458 [print] Request: {
  "transaction_id": "d5d07e4d-5be4-4d72-baa4-c5a792422883",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = "12345" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.873
13:17:01.460 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d5d07e4d-5be4-4d72-baa4-c5a792422883",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "12345",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:03.330 response time in milliseconds: 1868
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:03",
  "timestamp": 1733512623,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d5d07e4d-5be4-4d72-baa4-c5a792422883",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126222276438304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:01.780 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.824
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:01.786 [print] Request: {
  "transaction_id": "02c9bc60-429d-4d6d-952d-73be3676971a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.822
13:17:01.791 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "02c9bc60-429d-4d6d-952d-73be3676971a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:03.609 response time in milliseconds: 1817
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:03",
  "timestamp": 1733512623,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "02c9bc60-429d-4d6d-952d-73be3676971a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126226976515404988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:02.328 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.819
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.332 [print] Request: {
  "transaction_id": "6ee797c8-c197-4d9c-b42c-f8338e3e1150",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.819
13:17:02.333 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6ee797c8-c197-4d9c-b42c-f8338e3e1150",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": null,
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.151 response time in milliseconds: 1817
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:04",
  "timestamp": 1733512624,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6ee797c8-c197-4d9c-b42c-f8338e3e1150",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126232636934304985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:02.446 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.236
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.451 [print] Request: {
  "transaction_id": "74e4688e-9166-46df-b2da-c847de26ffb7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.external_number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.235
13:17:02.454 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "74e4688e-9166-46df-b2da-c847de26ffb7",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "2024-11-07T19:36:25-06:00",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.687 response time in milliseconds: 231
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:02",
  "timestamp": 1733512622,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:02.693 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.072
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.696 [print] Request: {
  "transaction_id": "0fbc5f38-ee55-4f7a-a6f7-f83eba4c9cae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.071
13:17:02.699 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0fbc5f38-ee55-4f7a-a6f7-f83eba4c9cae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": 1,
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.768 response time in milliseconds: 68
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:03",
  "timestamp": 1733512623,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:02.693 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.240
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.696 [print] Request: {
  "transaction_id": "00061961-8822-482f-838a-e968f2c7cd7e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.239
13:17:02.699 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00061961-8822-482f-838a-e968f2c7cd7e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "#(java.util.UUID.randomUUID().toString())",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:02.936 response time in milliseconds: 235
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:13 GMT
1 < Content-Type: application/json
1 < Content-Length: 233
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:03",
  "timestamp": 1733512623,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:02.772 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.982
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.776 [print] Request: {
  "transaction_id": "2e995799-a155-480b-8b17-fd98fa3e3dac",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = "MEX" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.980
13:17:02.779 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2e995799-a155-480b-8b17-fd98fa3e3dac",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "MEX",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.757 response time in milliseconds: 1978
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:05",
  "timestamp": 1733512625,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2e995799-a155-480b-8b17-fd98fa3e3dac",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126235756129404986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:02.942 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.008
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:02.944 [print] Request: {
  "transaction_id": "f8228b04-b3cf-4472-bc37-53314d3b89e9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.007
13:17:02.945 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f8228b04-b3cf-4472-bc37-53314d3b89e9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.952 response time in milliseconds: 2005
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:15 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:05",
  "timestamp": 1733512625,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f8228b04-b3cf-4472-bc37-53314d3b89e9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126237406194504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:03.335 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.218
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:03.338 [print] Request: {
  "transaction_id": "5a44e5fa-67b1-4da0-97c3-19ff33a35c6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.217
13:17:03.340 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5a44e5fa-67b1-4da0-97c3-19ff33a35c6d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": null,
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:05.555 response time in milliseconds: 2213
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:16 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:05",
  "timestamp": 1733512625,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "5a44e5fa-67b1-4da0-97c3-19ff33a35c6d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126242536957704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:03.613 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.300
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:03.614 [print] Request: {
  "transaction_id": "a6040905-744c-4fa4-97dd-2a82304f26d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.internal_number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.300
13:17:03.617 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a6040905-744c-4fa4-97dd-2a82304f26d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "2024-11-07T19:36:25-06:00",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:03.915 response time in milliseconds: 297
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Content-Length: 233
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:04",
  "timestamp": 1733512624,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:03.921 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.097
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:03.925 [print] Request: {
  "transaction_id": "da13eab5-aa1b-48ef-8c4e-a3034a05e7e5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.095
13:17:03.929 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1540
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "da13eab5-aa1b-48ef-8c4e-a3034a05e7e5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": 1,
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.021 response time in milliseconds: 91
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:04",
  "timestamp": 1733512624,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:04.029 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.269
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.031 [print] Request: {
  "transaction_id": "10a5fdf6-1bcd-4e5e-a673-9abdb4359acb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.269
13:17:04.033 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1582
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "10a5fdf6-1bcd-4e5e-a673-9abdb4359acb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "#(java.util.UUID.randomUUID().toString())",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.300 response time in milliseconds: 266
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:04",
  "timestamp": 1733512624,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:17:04.157 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.482
Scenario Outline Validate client.address.town
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.163 [print] Request: {
  "transaction_id": "02c66554-b9d2-47f9-bed5-2e0b64349e18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = "1A" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.480
13:17:04.165 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "02c66554-b9d2-47f9-bed5-2e0b64349e18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "1A",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:04.644 response time in milliseconds: 476
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:14 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:04",
  "timestamp": 1733512624,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 476, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:04","timestamp":1733512624,"message":"invalid transaction request","errors":{"client":{"address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:954
13:17:04.646 classpath:claroscore/features/Motor.feature:954
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 476, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:04","timestamp":1733512624,"message":"invalid transaction request","errors":{"client":{"address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:954
0.010
* url apiURL 0.000
13:17:04.305 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.006
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.160
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.317 [print] Request: {
  "transaction_id": "11836e54-3421-416f-b8a3-e3f860aa1bbf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.159
13:17:04.320 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "11836e54-3421-416f-b8a3-e3f860aa1bbf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:06.477 response time in milliseconds: 2155
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:06",
  "timestamp": 1733512626,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "11836e54-3421-416f-b8a3-e3f860aa1bbf",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126253636095404987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:04.654 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.820
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.657 [print] Request: {
  "transaction_id": "6efa8424-2b9b-498b-b548-40e105e524ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.818
13:17:04.659 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6efa8424-2b9b-498b-b548-40e105e524ae",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": null,
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:06.477 response time in milliseconds: 1816
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:06",
  "timestamp": 1733512626,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6efa8424-2b9b-498b-b548-40e105e524ae",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126253486936704985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:04.763 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.232
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.769 [print] Request: {
  "transaction_id": "32897218-4f3e-426a-a342-af6efd1910ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.town = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.230
13:17:04.771 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "32897218-4f3e-426a-a342-af6efd1910ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "2024-11-07T19:36:25-06:00",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:05.000 response time in milliseconds: 226
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:15 GMT
1 < Content-Type: application/json
1 < Content-Length: 206
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:05",
  "timestamp": 1733512625,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:04.958 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.723
Scenario Outline Validate client.address.city
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:04.960 [print] Request: {
  "transaction_id": "563cbf30-f6b4-4938-a192-0dab379f8cf2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = 1 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.720
13:17:04.965 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1581
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "563cbf30-f6b4-4938-a192-0dab379f8cf2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": 1
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:06.682 response time in milliseconds: 1715
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:06",
  "timestamp": 1733512626,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "563cbf30-f6b4-4938-a192-0dab379f8cf2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126257776540504975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1715, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:06","timestamp":1733512626,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"563cbf30-f6b4-4938-a192-0dab379f8cf2","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126257776540504975","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
13:17:06.683 classpath:claroscore/features/Motor.feature:976
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1715, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:06","timestamp":1733512626,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"563cbf30-f6b4-4938-a192-0dab379f8cf2","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126257776540504975","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
0.001
* url apiURL 0.000
13:17:05.007 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.672
Scenario Outline Validate client.address.city
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:05.010 [print] Request: {
  "transaction_id": "08de610e-4c54-4f64-8ef8-f9207dcafbc9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.671
13:17:05.014 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1623
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "08de610e-4c54-4f64-8ef8-f9207dcafbc9",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": "#(java.util.UUID.randomUUID().toString())"
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:06.682 response time in milliseconds: 1666
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:06",
  "timestamp": 1733512626,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "08de610e-4c54-4f64-8ef8-f9207dcafbc9",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126257516111004960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1666, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:06","timestamp":1733512626,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"08de610e-4c54-4f64-8ef8-f9207dcafbc9","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126257516111004960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
13:17:06.683 classpath:claroscore/features/Motor.feature:976
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1666, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:06","timestamp":1733512626,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"08de610e-4c54-4f64-8ef8-f9207dcafbc9","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"5"},"decision_manager":{"id":"7335126257516111004960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
0.001
* url apiURL 0.000
13:17:05.561 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.938
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:05.563 [print] Request: {
  "transaction_id": "8852ed9a-c030-4d24-86d5-2e55c758947d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = "MEX" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.937
13:17:05.566 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8852ed9a-c030-4d24-86d5-2e55c758947d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": "MEX"
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:07.501 response time in milliseconds: 1933
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:07",
  "timestamp": 1733512627,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8852ed9a-c030-4d24-86d5-2e55c758947d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126264966000304982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:06.482 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.041
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:06.485 [print] Request: {
  "transaction_id": "8b6c0ca9-2bd2-4676-8577-c6772517f195",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.040
13:17:06.486 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1582
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8b6c0ca9-2bd2-4676-8577-c6772517f195",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": ""
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:08.525 response time in milliseconds: 2037
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:18 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:08",
  "timestamp": 1733512628,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8b6c0ca9-2bd2-4676-8577-c6772517f195",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126272846165604984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:06.482 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.347
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:06.485 [print] Request: {
  "transaction_id": "d0d24a25-8014-4e27-9c09-38d881261b87",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.346
13:17:06.486 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1584
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d0d24a25-8014-4e27-9c09-38d881261b87",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": null
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:08.832 response time in milliseconds: 2344
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d0d24a25-8014-4e27-9c09-38d881261b87",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126273896010504978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:06.688 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.874
Scenario Outline Validate client.address.city
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:06.691 [print] Request: {
  "transaction_id": "60cd00c4-8e3b-4f0b-912e-f81c53168978",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.purchase.client.address.city = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.873
13:17:06.692 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1607
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "60cd00c4-8e3b-4f0b-912e-f81c53168978",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ],
    "client": {
      "address": {
        "city": "2024-11-07T19:36:25-06:00"
      }
    }
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:08.565 response time in milliseconds: 1872
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:08",
  "timestamp": 1733512628,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "60cd00c4-8e3b-4f0b-912e-f81c53168978",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126274966134304986",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1872, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:08","timestamp":1733512628,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"60cd00c4-8e3b-4f0b-912e-f81c53168978","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335126274966134304986","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
13:17:08.565 classpath:claroscore/features/Motor.feature:976
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1872, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:08","timestamp":1733512628,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"60cd00c4-8e3b-4f0b-912e-f81c53168978","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335126274966134304986","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:976
0.001
* url apiURL 0.000
13:17:06.688 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.094
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:06.691 [print] Request: {
  "transaction_id": "1fd212e3-a81b-4c8b-abe8-9a535c35a6b4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.093
13:17:06.692 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1fd212e3-a81b-4c8b-abe8-9a535c35a6b4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": 1,
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:06.783 response time in milliseconds: 89
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:07",
  "timestamp": 1733512627,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:06.791 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.400
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:06.796 [print] Request: {
  "transaction_id": "d4adb8cc-a41a-417a-b501-ac7de4a5b3d3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = '#(java.util.UUID.randomUUID().toString())' 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.396
13:17:06.806 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d4adb8cc-a41a-417a-b501-ac7de4a5b3d3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "#(java.util.UUID.randomUUID().toString())",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:07.195 response time in milliseconds: 386
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:17 GMT
1 < Content-Type: application/json
1 < Content-Length: 212
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:07",
  "timestamp": 1733512627,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:17:07.201 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.240
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:07.207 [print] Request: {
  "transaction_id": "51683f02-6dd2-4413-9a4c-d0d4bf6c101a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = "EM" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.238
13:17:07.213 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "51683f02-6dd2-4413-9a4c-d0d4bf6c101a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:09.447 response time in milliseconds: 2231
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "51683f02-6dd2-4413-9a4c-d0d4bf6c101a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126280026542704975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:07.507 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.936
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:07.509 [print] Request: {
  "transaction_id": "00b4ca64-4672-493a-9211-5a58c82c85d2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.936
13:17:07.511 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00b4ca64-4672-493a-9211-5a58c82c85d2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:09.445 response time in milliseconds: 1933
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "00b4ca64-4672-493a-9211-5a58c82c85d2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126283046005404989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:08.528 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.734
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:08.531 [print] Request: {
  "transaction_id": "70fac58a-7743-4968-bc40-fe2b8f877c12",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.734
13:17:08.531 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70fac58a-7743-4968-bc40-fe2b8f877c12",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": null,
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:10.265 response time in milliseconds: 1732
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:20 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:10",
  "timestamp": 1733512630,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70fac58a-7743-4968-bc40-fe2b8f877c12",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "17"
  },
  "decision_manager": {
    "id": "7335126293386200504956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:08.567 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.262
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:08.571 [print] Request: {
  "transaction_id": "5718bdb4-ee20-404e-bc51-c2e48e617f85",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.state = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.260
13:17:08.574 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "5718bdb4-ee20-404e-bc51-c2e48e617f85",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "2024-11-07T19:36:25-06:00",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:08.831 response time in milliseconds: 256
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Content-Length: 212
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:08.836 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.073
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:08.838 [print] Request: {
  "transaction_id": "39331ba5-c626-4c8c-811a-8392e9274890",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.073
13:17:08.839 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "39331ba5-c626-4c8c-811a-8392e9274890",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": 1,
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:08.911 response time in milliseconds: 70
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:08.836 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.189
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:08.838 [print] Request: {
  "transaction_id": "aa446ca3-dae2-461c-9857-02e1edc15fe8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.188
13:17:08.839 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa446ca3-dae2-461c-9857-02e1edc15fe8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "#(java.util.UUID.randomUUID().toString())",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:09.026 response time in milliseconds: 185
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:19 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:09",
  "timestamp": 1733512629,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:08.917 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.961
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:08.919 [print] Request: {
  "transaction_id": "39dc8679-fa2f-4dae-8758-aa41880bb476",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.960
13:17:08.921 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "39dc8679-fa2f-4dae-8758-aa41880bb476",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "EM",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:10.880 response time in milliseconds: 1957
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:10",
  "timestamp": 1733512630,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "39dc8679-fa2f-4dae-8758-aa41880bb476",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126296956941204985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:09.032 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.917
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:09.038 [print] Request: {
  "transaction_id": "f3b02749-ca09-48ec-9ea1-d91d57635639",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.916
13:17:09.042 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f3b02749-ca09-48ec-9ea1-d91d57635639",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:10.954 response time in milliseconds: 1911
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "f3b02749-ca09-48ec-9ea1-d91d57635639",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126298496261904973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.006
* url apiURL 0.000
13:17:09.546 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.003
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.735
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:09.554 [print] Request: {
  "transaction_id": "9d840111-2788-427f-8213-63411aca0504",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.733
13:17:09.559 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9d840111-2788-427f-8213-63411aca0504",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": null,
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:11.289 response time in milliseconds: 1729
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:21 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "9d840111-2788-427f-8213-63411aca0504",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126303646805304980",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:17:09.550 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.001
0.299
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:09.557 [print] Request: {
  "transaction_id": "a9d2017e-b956-4bbd-aeac-e6cc56ac0b51",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.country = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.298
13:17:09.559 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a9d2017e-b956-4bbd-aeac-e6cc56ac0b51",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "2024-11-07T19:36:25-06:00",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:09.855 response time in milliseconds: 295
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:20 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:10",
  "timestamp": 1733512630,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:09.863 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.087
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:09.868 [print] Request: {
  "transaction_id": "b23b2986-e632-4c12-8f05-7223985aadb5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.084
13:17:09.870 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b23b2986-e632-4c12-8f05-7223985aadb5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": 1
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:09.954 response time in milliseconds: 84
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:20 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:10",
  "timestamp": 1733512630,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:09.957 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.613
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:09.959 [print] Request: {
  "transaction_id": "41e87d18-fcc5-467a-ba1c-dc5626c0a16d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = '#(java.util.UUID.randomUUID().toString())' 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.611
13:17:09.963 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "41e87d18-fcc5-467a-ba1c-dc5626c0a16d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "#(java.util.UUID.randomUUID().toString())"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:10.572 response time in milliseconds: 608
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:21 GMT
1 < Content-Type: application/json
1 < Content-Length: 226
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:10",
  "timestamp": 1733512630,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:10.276 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.831
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:10.280 [print] Request: {
  "transaction_id": "fcf4d355-4563-4202-b328-a81ed17eda07",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.830
13:17:10.281 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "fcf4d355-4563-4202-b328-a81ed17eda07",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "EM"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.110 response time in milliseconds: 1826
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:22 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:12",
  "timestamp": 1733512632,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "fcf4d355-4563-4202-b328-a81ed17eda07",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126309706170304984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:10.575 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.125
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:10.577 [print] Request: {
  "transaction_id": "c7f950dd-03d4-47bc-8123-08e8b4cc1f5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.124
13:17:10.581 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c7f950dd-03d4-47bc-8123-08e8b4cc1f5a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": ""
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.702 response time in milliseconds: 2118
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:13",
  "timestamp": 1733512633,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c7f950dd-03d4-47bc-8123-08e8b4cc1f5a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126316836037604990",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:10.888 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.788
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:10.892 [print] Request: {
  "transaction_id": "a2c705bf-b367-4750-8d88-100ba34d6277",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.788
13:17:10.893 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a2c705bf-b367-4750-8d88-100ba34d6277",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": null
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.680 response time in milliseconds: 1784
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:23 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:12",
  "timestamp": 1733512632,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a2c705bf-b367-4750-8d88-100ba34d6277",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126317786149404979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:10.959 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.327
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:10.963 [print] Request: {
  "transaction_id": "f4edfe51-c6d2-4631-bf59-3f71e5d5b38d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.client.address.zip_code = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.325
13:17:10.966 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "f4edfe51-c6d2-4631-bf59-3f71e5d5b38d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "2024-11-07T19:36:25-06:00"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:11.289 response time in milliseconds: 321
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:21 GMT
1 < Content-Type: application/json
1 < Content-Length: 226
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "message": "invalid transaction request",
  "errors": {
    "client": {
      "address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:11.291 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.119
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:11.293 [print] Request: {
  "transaction_id": "40d6a281-ff30-48bd-9eac-91cf5fe66a4c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.117
13:17:11.299 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1512
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "40d6a281-ff30-48bd-9eac-91cf5fe66a4c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": 1,
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:11.411 response time in milliseconds: 111
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:22 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:11.292 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.307
Scenario Outline Validate payment_method.card_token
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:11.297 [print] Request: {
  "transaction_id": "aa2399f2-7269-404d-b7ab-f16e28072f11",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = '#(java.util.UUID.randomUUID().toString())' 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.304
13:17:11.301 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1554
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "aa2399f2-7269-404d-b7ab-f16e28072f11",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "#(java.util.UUID.randomUUID().toString())",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:11.601 response time in milliseconds: 296
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:22 GMT
1 < Content-Type: application/json
1 < Content-Length: 200
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "card_token": "must be a valid UUID"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 296, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:11","timestamp":1733512631,"message":"invalid transaction request","errors":{"payment_method":{"card_token":"must be a valid UUID"}}}

classpath:claroscore/features/Motor.feature:1065
13:17:11.604 classpath:claroscore/features/Motor.feature:1065
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 296, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:11","timestamp":1733512631,"message":"invalid transaction request","errors":{"payment_method":{"card_token":"must be a valid UUID"}}}

classpath:claroscore/features/Motor.feature:1065
0.001
* url apiURL 0.000
13:17:11.414 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.208
Scenario Outline Validate payment_method.card_token
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:11.416 [print] Request: {
  "transaction_id": "bac91126-04e1-4e5f-9892-4e9665f18aa0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.207
13:17:11.417 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1515
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "bac91126-04e1-4e5f-9892-4e9665f18aa0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "EM",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:11.623 response time in milliseconds: 202
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:22 GMT
1 < Content-Type: application/json
1 < Content-Length: 200
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:11",
  "timestamp": 1733512631,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "card_token": "must be a valid UUID"
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 202, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:11","timestamp":1733512631,"message":"invalid transaction request","errors":{"payment_method":{"card_token":"must be a valid UUID"}}}

classpath:claroscore/features/Motor.feature:1065
13:17:11.625 classpath:claroscore/features/Motor.feature:1065
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 202, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:11","timestamp":1733512631,"message":"invalid transaction request","errors":{"payment_method":{"card_token":"must be a valid UUID"}}}

classpath:claroscore/features/Motor.feature:1065
0.001
* url apiURL 0.000
13:17:11.607 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.340
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:11.611 [print] Request: {
  "transaction_id": "09c63fc0-62b3-47d2-a9f6-f3f17b1b34a2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = "" 0.002
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.335
13:17:11.636 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1513
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "09c63fc0-62b3-47d2-a9f6-f3f17b1b34a2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:13.950 response time in milliseconds: 2313
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:14",
  "timestamp": 1733512634,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "09c63fc0-62b3-47d2-a9f6-f3f17b1b34a2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126323346158004974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.004
* url apiURL 0.000
13:17:11.631 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.322
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.004
13:17:11.642 [print] Request: {
  "transaction_id": "b3f93573-133d-483c-8cee-d0e531dcbb3f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = null 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.317
13:17:11.649 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1515
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b3f93573-133d-483c-8cee-d0e531dcbb3f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": null,
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:13.960 response time in milliseconds: 2310
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:24 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:14",
  "timestamp": 1733512634,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b3f93573-133d-483c-8cee-d0e531dcbb3f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126324166158204974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "92",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:12.118 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.001
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.272
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.006
13:17:12.128 [print] Request: {
  "transaction_id": "2c9c854a-9de0-44e1-97e8-37c4b9f51103",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.card_token = "2024-11-07T19:36:25-06:00" 0.015
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.250
13:17:12.146 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2c9c854a-9de0-44e1-97e8-37c4b9f51103",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "2024-11-07T19:36:25-06:00",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.394 response time in milliseconds: 248
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:22 GMT
1 < Content-Type: application/json
1 < Content-Length: 200
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:12",
  "timestamp": 1733512632,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "card_token": "must be a valid UUID"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:12.397 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.075
Scenario Outline Validate payment_method.bin
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:12.400 [print] Request: {
  "transaction_id": "b93d3257-2071-4bfe-8ec6-a4a53668c70f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = 411111 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.073
13:17:12.405 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b93d3257-2071-4bfe-8ec6-a4a53668c70f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": 411111,
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.475 response time in milliseconds: 69
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:23 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:12",
  "timestamp": 1733512632,
  "message": "invalid body request"
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 69, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:12","timestamp":1733512632,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:1086
13:17:12.475 classpath:claroscore/features/Motor.feature:1086
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 69, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:12","timestamp":1733512632,"message":"invalid body request"}

classpath:claroscore/features/Motor.feature:1086
0.000
* url apiURL 0.000
13:17:12.479 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.225
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:12.480 [print] Request: {
  "transaction_id": "a7371b0e-8b2b-49c0-84cb-c77d3215cf18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.224
13:17:12.484 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1584
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a7371b0e-8b2b-49c0-84cb-c77d3215cf18",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "#(java.util.UUID.randomUUID().toString())",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:12.705 response time in milliseconds: 220
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:23 GMT
1 < Content-Type: application/json
1 < Content-Length: 192
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:13",
  "timestamp": 1733512633,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "bin": "must be a valid Bin"
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:12.685 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.813
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:12.688 [print] Request: {
  "transaction_id": "53671d2a-1716-466c-b9c9-971ed3dad2d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = "411111" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.810
13:17:12.694 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "53671d2a-1716-466c-b9c9-971ed3dad2d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:14.499 response time in milliseconds: 1803
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:14",
  "timestamp": 1733512634,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "53671d2a-1716-466c-b9c9-971ed3dad2d5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126335046450304976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:12.709 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.969
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:12.747 [print] Request: {
  "transaction_id": "c9553d04-1e50-4e6d-b7cc-1ff3a3d82a49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.967
13:17:12.755 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c9553d04-1e50-4e6d-b7cc-1ff3a3d82a49",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:14.714 response time in milliseconds: 1957
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:15",
  "timestamp": 1733512635,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c9553d04-1e50-4e6d-b7cc-1ff3a3d82a49",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126334696301304953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:12.727 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.974
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:12.731 [print] Request: {
  "transaction_id": "65e284fb-fc2b-44e4-ad3d-6bb3bbad6175",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.971
13:17:12.736 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "65e284fb-fc2b-44e4-ad3d-6bb3bbad6175",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": null,
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:14.703 response time in milliseconds: 1965
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:25 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:15",
  "timestamp": 1733512635,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "65e284fb-fc2b-44e4-ad3d-6bb3bbad6175",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126337136152104979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": null,
    "payment_information_account_issuer": null,
    "risk_information_score": "93",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:13.953 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.304
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:13.956 [print] Request: {
  "transaction_id": "cc9e5a28-136e-4ea2-baca-6f162c2cfa30",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.bin = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.303
13:17:13.959 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1568
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "cc9e5a28-136e-4ea2-baca-6f162c2cfa30",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "2024-11-07T19:36:25-06:00",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:14.259 response time in milliseconds: 298
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:24 GMT
1 < Content-Type: application/json
1 < Content-Length: 192
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:14",
  "timestamp": 1733512634,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "bin": "must be a valid Bin"
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:13.965 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.829
Scenario Outline Validate payment_method.expiration_month
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:13.968 [print] Request: {
  "transaction_id": "d2dda6de-3fbe-49f3-86d3-9c8c8b258ca0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = 12 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.827
13:17:13.969 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d2dda6de-3fbe-49f3-86d3-9c8c8b258ca0",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": 12
}


13:17:15.796 response time in milliseconds: 1825
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d2dda6de-3fbe-49f3-86d3-9c8c8b258ca0",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126347736120804960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:16","timestamp":1733512636,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"d2dda6de-3fbe-49f3-86d3-9c8c8b258ca0","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"4"},"decision_manager":{"id":"7335126347736120804960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
13:17:15.797 classpath:claroscore/features/Motor.feature:1107
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1825, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:16","timestamp":1733512636,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"d2dda6de-3fbe-49f3-86d3-9c8c8b258ca0","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"4"},"decision_manager":{"id":"7335126347736120804960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
0.001
* url apiURL 0.000
13:17:14.268 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.931
Scenario Outline Validate payment_method.expiration_month
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:14.271 [print] Request: {
  "transaction_id": "04ce9c27-4035-4fd5-82a4-b987047648c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.931
13:17:14.274 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1626
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "04ce9c27-4035-4fd5-82a4-b987047648c5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": "#(java.util.UUID.randomUUID().toString())"
}


13:17:16.203 response time in milliseconds: 1928
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "04ce9c27-4035-4fd5-82a4-b987047648c5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335126351726121304960",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 1928, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:16","timestamp":1733512636,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"04ce9c27-4035-4fd5-82a4-b987047648c5","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"10"},"decision_manager":{"id":"7335126351726121304960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
13:17:16.203 classpath:claroscore/features/Motor.feature:1107
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 1928, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:16","timestamp":1733512636,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"04ce9c27-4035-4fd5-82a4-b987047648c5","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"10"},"decision_manager":{"id":"7335126351726121304960","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
0.003
* url apiURL 0.000
13:17:14.505 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.890
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:14.511 [print] Request: {
  "transaction_id": "46feaed8-3fff-4d24-a783-45bd94c4bc32",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = "12" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.888
13:17:14.516 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "46feaed8-3fff-4d24-a783-45bd94c4bc32",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": "12"
}


13:17:16.401 response time in milliseconds: 1885
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "46feaed8-3fff-4d24-a783-45bd94c4bc32",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126353176551504975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:14.711 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.533
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:14.715 [print] Request: {
  "transaction_id": "6b5eb3f3-f1f7-48e9-bfd5-6b77d86d355d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.531
13:17:14.718 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6b5eb3f3-f1f7-48e9-bfd5-6b77d86d355d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": ""
}


13:17:16.248 response time in milliseconds: 1528
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:26 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "6b5eb3f3-f1f7-48e9-bfd5-6b77d86d355d",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126353736268804973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:14.718 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.322
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:14.720 [print] Request: {
  "transaction_id": "c3c4ba99-f2b0-47fb-b199-863716f4b5b6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.321
13:17:14.722 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c3c4ba99-f2b0-47fb-b199-863716f4b5b6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": null
}


13:17:17.041 response time in milliseconds: 2317
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:27 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:17",
  "timestamp": 1733512637,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c3c4ba99-f2b0-47fb-b199-863716f4b5b6",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126354096948804985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:15.801 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.861
Scenario Outline Validate payment_method.expiration_month
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:15.802 [print] Request: {
  "transaction_id": "40bb7ba0-9c61-4212-a9f8-5834167d173a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_methodExpiration_month = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.861
13:17:15.803 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1610
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "40bb7ba0-9c61-4212-a9f8-5834167d173a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  },
  "payment_methodExpiration_month": "2024-11-07T19:36:25-06:00"
}


13:17:18.663 response time in milliseconds: 2858
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:18",
  "timestamp": 1733512638,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "40bb7ba0-9c61-4212-a9f8-5834167d173a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126369756022504978",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 400 0.000
status code was: 200, expected: 400, response time in milliseconds: 2858, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:18","timestamp":1733512638,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"40bb7ba0-9c61-4212-a9f8-5834167d173a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335126369756022504978","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
13:17:18.664 classpath:claroscore/features/Motor.feature:1107
Then status 400
status code was: 200, expected: 400, response time in milliseconds: 2858, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"success","code_response":200,"datetime":"2024-12-06 19:17:18","timestamp":1733512638,"score":70,"result":-1,"code":2,"profile_name":["Perfil De prueba"],"id":"40bb7ba0-9c61-4212-a9f8-5834167d173a","score_movil":{},"emailage":{"billcountryrisky":"No","country":"US","domain_age":"12/09/2004","domain_category":"Education","domain_corporate":"Yes","domain_creation_days":"7301","domain_exists":"Yes","domain_name":"test.com","domain_risk_level":"High","ea_advice":"Moderate Fraud Risk","ea_reason":"Customer Email not Provided","ea_reason_id":"61","ea_risk_band_id":"3","ea_score":"500","email_exists":"Not Sure","first_seen_days":"2","first_verification_date":"12/03/2024","ip_anonymous_detected":"No","ip_country":"Taiwan","ip_reputation":"Good","ip_risk_level":"Moderate","name_match":"U","phone_carrier_name":"Radiomovil Dipsa, S.A. De C.V.","phone_status":"Valid"},"device_finger":{"profile_duration":"7"},"decision_manager":{"id":"7335126369756022504978","merchant_id":"t1pagos_poc","client_reference_information_code":"pedido.1342006618","payment_information_account_type":"Visa Classic","payment_information_account_issuer":"CONOTOXIA SP. Z O.O","risk_information_score":"98","risk_information_model_used":"default","risk_information_profile":{"earlyDecision":"ACCEPT","name":"Example","selectorRule":"Prueba Emailage"},"risk_information_rules":[{"name":"Account issued outside of billing country","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Billing and/or shipping address not verifiable","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Correctable errors in addresses","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order is above your AFS threshold for reject.","decision":"REJECT","executionTiming":"POST_AUTH"},{"name":"CVN not submitted","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside merchant's region","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Order outside the U.S","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Domain Creation Date","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Shipping address different from billing address","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Similarities of this order to recent orders","decision":"IGNORE","executionTiming":"POST_AUTH"},{"name":"Geolocation inconsistencies in order","decision":"REVIEW","executionTiming":"POST_AUTH"},{"name":"Incorrect currency type","decision":"IGNORE","executionTiming":"POST_AUTH"}],"merchant_data":null,"status":"REJECTED"}}

classpath:claroscore/features/Motor.feature:1107
0.002
* url apiURL 0.000
13:17:16.206 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.097
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:16.209 [print] Request: {
  "transaction_id": "d2ab71ad-a313-4aa2-8c1a-4bc35b3828d6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = 2030 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.095
13:17:16.214 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d2ab71ad-a313-4aa2-8c1a-4bc35b3828d6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": 2030,
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:16.306 response time in milliseconds: 91
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:26 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:16.254 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.196
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:16.256 [print] Request: {
  "transaction_id": "4d5fb6b5-9bdb-4728-9bf3-b595c01e80cd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.195
13:17:16.259 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1586
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4d5fb6b5-9bdb-4728-9bf3-b595c01e80cd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "#(java.util.UUID.randomUUID().toString())",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:16.452 response time in milliseconds: 193
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:27 GMT
1 < Content-Type: application/json
1 < Content-Length: 210
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:16",
  "timestamp": 1733512636,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "expiration_year": "must be an integer number"
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:16.310 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.147
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:16.313 [print] Request: {
  "transaction_id": "00e836ab-5b6e-4df0-8428-72880b3c18bb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = "2030" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.145
13:17:16.318 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00e836ab-5b6e-4df0-8428-72880b3c18bb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:18.460 response time in milliseconds: 2140
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:18",
  "timestamp": 1733512638,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "00e836ab-5b6e-4df0-8428-72880b3c18bb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126371086553804975",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:16.403 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.568
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:16.404 [print] Request: {
  "transaction_id": "8efcdaa2-0de4-482a-83b7-8ae661c7b8fe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.567
13:17:16.406 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8efcdaa2-0de4-482a-83b7-8ae661c7b8fe",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:18.971 response time in milliseconds: 2562
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:19",
  "timestamp": 1733512639,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "8efcdaa2-0de4-482a-83b7-8ae661c7b8fe",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "9"
  },
  "decision_manager": {
    "id": "7335126371286306204953",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:16.454 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.857
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:16.457 [print] Request: {
  "transaction_id": "2ed6e40d-1070-4845-99a0-2dd652751322",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.857
13:17:16.459 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2ed6e40d-1070-4845-99a0-2dd652751322",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": null,
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:18.315 response time in milliseconds: 1855
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:28 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:18",
  "timestamp": 1733512638,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2ed6e40d-1070-4845-99a0-2dd652751322",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "10"
  },
  "decision_manager": {
    "id": "7335126372666264604977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:17.048 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.280
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:17.052 [print] Request: {
  "transaction_id": "98106852-95dc-4738-9646-491b0de8ccaf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.expiration_year = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.279
13:17:17.053 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1570
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "98106852-95dc-4738-9646-491b0de8ccaf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2024-11-07T19:36:25-06:00",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:17.331 response time in milliseconds: 277
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:27 GMT
1 < Content-Type: application/json
1 < Content-Length: 210
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:17",
  "timestamp": 1733512637,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "expiration_year": "must be an integer number"
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:17.335 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.081
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:17.336 [print] Request: {
  "transaction_id": "55e110dd-d6e5-4ca1-85fd-c1cd68cb21d4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.080
13:17:17.337 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1538
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "55e110dd-d6e5-4ca1-85fd-c1cd68cb21d4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": 1,
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:17.416 response time in milliseconds: 78
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:28 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:17",
  "timestamp": 1733512637,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:17.420 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.214
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:17.421 [print] Request: {
  "transaction_id": "18d823e5-3661-4b34-ba01-406df5a09c0b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.213
13:17:17.424 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1580
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "18d823e5-3661-4b34-ba01-406df5a09c0b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "#(java.util.UUID.randomUUID().toString())",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:17.636 response time in milliseconds: 211
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:28 GMT
1 < Content-Type: application/json
1 < Content-Length: 202
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:17",
  "timestamp": 1733512637,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "type": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:17.640 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.941
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:17.641 [print] Request: {
  "transaction_id": "42768fd6-c8ab-4e4d-9b8e-0f8f186c202a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = "debit card" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.940
13:17:17.645 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "42768fd6-c8ab-4e4d-9b8e-0f8f186c202a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:19.583 response time in milliseconds: 1937
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:19",
  "timestamp": 1733512639,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "42768fd6-c8ab-4e4d-9b8e-0f8f186c202a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126383976211604956",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:18.316 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.592
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:18.318 [print] Request: {
  "transaction_id": "1b815cd3-be96-484e-a9c0-7b73d16cb21b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.592
13:17:18.319 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1539
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "1b815cd3-be96-484e-a9c0-7b73d16cb21b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:19.910 response time in milliseconds: 1588
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:20",
  "timestamp": 1733512640,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "1b815cd3-be96-484e-a9c0-7b73d16cb21b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126390136954404985",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.005
* url apiURL 0.000
13:17:18.469 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.001
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.804
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:18.478 [print] Request: {
  "transaction_id": "a7424d3c-5b5e-43d2-9d73-5203c9d77013",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.801
13:17:18.482 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1541
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "a7424d3c-5b5e-43d2-9d73-5203c9d77013",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": null,
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.279 response time in milliseconds: 1797
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:30 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:20",
  "timestamp": 1733512640,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "a7424d3c-5b5e-43d2-9d73-5203c9d77013",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126393846113804987",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:18.667 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.307
* def peticion = requestBody 0.003
* print 'Request:', peticion 0.001
13:17:18.675 [print] Request: {
  "transaction_id": "23374965-0f9a-4133-a70e-a53895e5706d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.type = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.302
13:17:18.679 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1564
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "23374965-0f9a-4133-a70e-a53895e5706d",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "2024-11-07T19:36:25-06:00",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:18.978 response time in milliseconds: 289
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Content-Length: 202
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:19",
  "timestamp": 1733512639,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "type": "must contain Spanish letters"
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:18.976 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.088
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:18.978 [print] Request: {
  "transaction_id": "6894c9b6-1f1e-4253-9f43-be3206fc9eb3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.087
13:17:18.979 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1524
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6894c9b6-1f1e-4253-9f43-be3206fc9eb3",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": 1,
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:19.065 response time in milliseconds: 85
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:19",
  "timestamp": 1733512639,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:18.980 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.245
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:18.983 [print] Request: {
  "transaction_id": "4d1347db-fa6c-4886-8d56-29b5ebe242b8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.244
13:17:18.984 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1566
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4d1347db-fa6c-4886-8d56-29b5ebe242b8",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "#(java.util.UUID.randomUUID().toString())",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:19.228 response time in milliseconds: 244
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:29 GMT
1 < Content-Type: application/json
1 < Content-Length: 232
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:19",
  "timestamp": 1733512639,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:19.070 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.842
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:19.073 [print] Request: {
  "transaction_id": "45a0bf1f-de40-4056-8a76-1db9f861346c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.840
13:17:19.077 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1530
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "45a0bf1f-de40-4056-8a76-1db9f861346c",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "12345",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.915 response time in milliseconds: 1837
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "45a0bf1f-de40-4056-8a76-1db9f861346c",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126398706976704981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:19.231 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.705
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:19.236 [print] Request: {
  "transaction_id": "0131d4df-0d18-4dc5-a9cf-ec621fa55ac6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = "" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.703
13:17:19.242 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1525
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0131d4df-0d18-4dc5-a9cf-ec621fa55ac6",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.941 response time in milliseconds: 1698
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0131d4df-0d18-4dc5-a9cf-ec621fa55ac6",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:19.585 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.687
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:19.588 [print] Request: {
  "transaction_id": "d7334464-4ef1-4454-8cab-642793b9e47e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.687
13:17:19.590 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1527
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d7334464-4ef1-4454-8cab-642793b9e47e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": null,
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:21.275 response time in milliseconds: 1683
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d7334464-4ef1-4454-8cab-642793b9e47e",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:19.929 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.279
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:19.943 [print] Request: {
  "transaction_id": "7c7d0f7c-84be-4cd0-a8f4-584fe0681e44",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.street = "2024-11-07T19:36:25-06:00" 0.003
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.275
13:17:19.949 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7c7d0f7c-84be-4cd0-a8f4-584fe0681e44",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "2024-11-07T19:36:25-06:00",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.222 response time in milliseconds: 271
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 232
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:20",
  "timestamp": 1733512640,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "street": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:20.227 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.102
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.228 [print] Request: {
  "transaction_id": "e0a5d9fb-954e-494d-8ebc-96e314923087",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.100
13:17:20.232 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "e0a5d9fb-954e-494d-8ebc-96e314923087",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": 1,
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.329 response time in milliseconds: 96
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:30 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:20",
  "timestamp": 1733512640,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:20.284 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.320
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.289 [print] Request: {
  "transaction_id": "c379dde9-73ef-4837-ac27-fc808894fc51",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.318
13:17:20.292 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1589
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c379dde9-73ef-4837-ac27-fc808894fc51",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "#(java.util.UUID.randomUUID().toString())",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:20.608 response time in milliseconds: 314
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 222
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:20",
  "timestamp": 1733512640,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:17:20.334 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.725
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.339 [print] Request: {
  "transaction_id": "2e47f30b-6e74-468a-babb-97eb6901851f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = "12345" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.723
13:17:20.343 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1553
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "2e47f30b-6e74-468a-babb-97eb6901851f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "12345",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:22.063 response time in milliseconds: 1718
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:32 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:22",
  "timestamp": 1733512642,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "2e47f30b-6e74-468a-babb-97eb6901851f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126411266170304974",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:20.613 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.938
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.615 [print] Request: {
  "transaction_id": "0aae0de4-04d5-4f84-adf6-18410b049172",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.938
13:17:20.616 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "0aae0de4-04d5-4f84-adf6-18410b049172",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:22.554 response time in milliseconds: 1936
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:22",
  "timestamp": 1733512642,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "0aae0de4-04d5-4f84-adf6-18410b049172",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126414326019704982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:20.917 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.790
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.920 [print] Request: {
  "transaction_id": "56970141-c0b9-496c-8597-55484b4e1c9e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.789
13:17:20.922 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1550
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "56970141-c0b9-496c-8597-55484b4e1c9e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": null,
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:22.709 response time in milliseconds: 1786
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "56970141-c0b9-496c-8597-55484b4e1c9e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126416226183604984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:20.946 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.271
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:20.950 [print] Request: {
  "transaction_id": "6e9040bb-3450-4037-bd85-fb8775910d00",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.external_number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.270
13:17:20.951 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "6e9040bb-3450-4037-bd85-fb8775910d00",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "2024-11-07T19:36:25-06:00",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:21.220 response time in milliseconds: 269
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 222
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "external_number": "must be an integer number"
      }
    }
  }
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:17:21.227 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.081
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:21.235 [print] Request: {
  "transaction_id": "422d00f2-238c-4366-b2d3-3cd5a1c27d61",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.077
13:17:21.239 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "422d00f2-238c-4366-b2d3-3cd5a1c27d61",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": 1,
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:21.314 response time in milliseconds: 74
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:31 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "message": "invalid body request"
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:21.280 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.349
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.002
13:17:21.285 [print] Request: {
  "transaction_id": "ed0ba628-301f-4a64-bd63-d4f06a37ad28",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.345
13:17:21.298 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ed0ba628-301f-4a64-bd63-d4f06a37ad28",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "#(java.util.UUID.randomUUID().toString())",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:21.631 response time in milliseconds: 332
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:32 GMT
1 < Content-Type: application/json
1 < Content-Length: 241
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:21",
  "timestamp": 1733512641,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:21.318 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.845
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:21.324 [print] Request: {
  "transaction_id": "58cc5aa8-8e44-4738-9d08-e1f07be5595f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = "1A" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.843
13:17:21.331 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "58cc5aa8-8e44-4738-9d08-e1f07be5595f",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:23.168 response time in milliseconds: 1835
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "58cc5aa8-8e44-4738-9d08-e1f07be5595f",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126420226025004989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:21.634 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.956
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:21.637 [print] Request: {
  "transaction_id": "828c8e1d-6a86-4b70-9fc2-51e18e16514a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.955
13:17:21.640 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "828c8e1d-6a86-4b70-9fc2-51e18e16514a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:23.593 response time in milliseconds: 1952
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "828c8e1d-6a86-4b70-9fc2-51e18e16514a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126424286463504976",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:22.072 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.881
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:22.075 [print] Request: {
  "transaction_id": "00f3a3a8-2bc3-415c-be4a-f5832ff2c2f5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.879
13:17:22.079 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "00f3a3a8-2bc3-415c-be4a-f5832ff2c2f5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": null,
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:23.956 response time in milliseconds: 1876
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "00f3a3a8-2bc3-415c-be4a-f5832ff2c2f5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126428976537404988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:22.559 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.262
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:22.561 [print] Request: {
  "transaction_id": "7b59dc25-b40b-4b89-ba6e-555587740685",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.internal_number = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.261
13:17:22.563 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7b59dc25-b40b-4b89-ba6e-555587740685",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "2024-11-07T19:36:25-06:00",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:22.823 response time in milliseconds: 258
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Content-Length: 241
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "internal_number": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:22.713 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.156
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.032
13:17:22.747 [print] Request: {
  "transaction_id": "3574d216-4b38-4ab4-8590-2bb46cebb3ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = 1 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.122
13:17:22.753 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "3574d216-4b38-4ab4-8590-2bb46cebb3ef",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": 1,
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:22.871 response time in milliseconds: 116
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "message": "invalid body request"
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:17:22.829 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.001
0.335
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:22.835 [print] Request: {
  "transaction_id": "df1e8779-85cd-40a7-b39f-340d15c2e5be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.333
13:17:22.840 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1588
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "df1e8779-85cd-40a7-b39f-340d15c2e5be",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "#(java.util.UUID.randomUUID().toString())",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:23.168 response time in milliseconds: 326
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:33 GMT
1 < Content-Type: application/json
1 < Content-Length: 220
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:23",
  "timestamp": 1733512643,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:22.877 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.824
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:22.881 [print] Request: {
  "transaction_id": "eb23d6b6-791c-4b63-8ecc-c96e32515569",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.823
13:17:22.882 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "eb23d6b6-791c-4b63-8ecc-c96e32515569",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "EM",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.704 response time in milliseconds: 1821
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "eb23d6b6-791c-4b63-8ecc-c96e32515569",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126437706186504984",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:23.172 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.746
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:23.174 [print] Request: {
  "transaction_id": "70838892-978e-4134-8ffb-b796ebcf5d9a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.745
13:17:23.174 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1547
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "70838892-978e-4134-8ffb-b796ebcf5d9a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.919 response time in milliseconds: 1742
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:25",
  "timestamp": 1733512645,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "70838892-978e-4134-8ffb-b796ebcf5d9a",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126438906273704977",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:23.173 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.759
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:23.175 [print] Request: {
  "transaction_id": "dc3a2dd1-066a-4e6f-983b-ad899cb77be1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.759
13:17:23.176 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1549
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dc3a2dd1-066a-4e6f-983b-ad899cb77be1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": null,
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.934 response time in milliseconds: 1757
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:25",
  "timestamp": 1733512645,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "dc3a2dd1-066a-4e6f-983b-ad899cb77be1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126439746280704973",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:23.596 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.284
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:23.598 [print] Request: {
  "transaction_id": "08a5b6cd-a79f-4b3f-94a9-8528b73bd791",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.state = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.284
13:17:23.600 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "08a5b6cd-a79f-4b3f-94a9-8528b73bd791",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "2024-11-07T19:36:25-06:00",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:23.882 response time in milliseconds: 282
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Content-Length: 220
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "state": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:23.886 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.133
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:23.887 [print] Request: {
  "transaction_id": "17d38064-4117-4adf-b25c-e62b41a307bf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.132
13:17:23.890 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1531
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "17d38064-4117-4adf-b25c-e62b41a307bf",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": 1,
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.020 response time in milliseconds: 125
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "message": "invalid body request"
}


Then status 400 0.000
0.004
* url apiURL 0.000
13:17:23.961 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.216
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.001
13:17:23.967 [print] Request: {
  "transaction_id": "ae703753-b6d9-4910-9742-003f21e10192",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.214
13:17:23.972 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1573
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ae703753-b6d9-4910-9742-003f21e10192",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "#(java.util.UUID.randomUUID().toString())",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.182 response time in milliseconds: 207
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:24.028 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.273
Scenario Outline Validate payment_method.address.town
Steps
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:24.031 [print] Request: {
  "transaction_id": "ed3fec6a-6c1b-46b6-8b4a-7be31edc0bff",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = "1A" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.271
13:17:24.043 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1534
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ed3fec6a-6c1b-46b6-8b4a-7be31edc0bff",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "1A",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.302 response time in milliseconds: 257
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:34 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:24",
  "timestamp": 1733512644,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 200 0.000
status code was: 400, expected: 200, response time in milliseconds: 257, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:24","timestamp":1733512644,"message":"invalid transaction request","errors":{"payment_method":{"address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:1262
13:17:24.304 classpath:claroscore/features/Motor.feature:1262
Then status 200
status code was: 400, expected: 200, response time in milliseconds: 257, url: https://beta-api.dev.t1score.com/v1/engine/evaluations, response: 
{"status":"fail","code_response":400,"datetime":"2024-12-06 19:17:24","timestamp":1733512644,"message":"invalid transaction request","errors":{"payment_method":{"address":{"town":"must contain Spanish letters"}}}}

classpath:claroscore/features/Motor.feature:1262
0.001
* url apiURL 0.000
13:17:24.189 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.740
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.010
13:17:24.201 [print] Request: {
  "transaction_id": "c146c126-ad92-44e2-bc40-ac1e1fbcbf7b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.728
13:17:24.205 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1532
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "c146c126-ad92-44e2-bc40-ac1e1fbcbf7b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:25.931 response time in milliseconds: 1726
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:26",
  "timestamp": 1733512646,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "c146c126-ad92-44e2-bc40-ac1e1fbcbf7b",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126450166028904989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.003
* url apiURL 0.000
13:17:24.310 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.923
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.003
13:17:24.318 [print] Request: {
  "transaction_id": "4360429d-0f99-4f66-9276-c6a7bb3d318e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.918
13:17:24.323 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1534
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4360429d-0f99-4f66-9276-c6a7bb3d318e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": null,
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.238 response time in milliseconds: 1915
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:36 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:26",
  "timestamp": 1733512646,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4360429d-0f99-4f66-9276-c6a7bb3d318e",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "4"
  },
  "decision_manager": {
    "id": "7335126451116540304988",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:24.707 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.243
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:24.709 [print] Request: {
  "transaction_id": "38fd3dee-f40b-4d38-9aaf-bdaced04cdbd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.town = "2024-11-07T19:36:25-06:00" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.241
13:17:24.712 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1557
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "38fd3dee-f40b-4d38-9aaf-bdaced04cdbd",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "2024-11-07T19:36:25-06:00",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:24.952 response time in milliseconds: 238
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:25",
  "timestamp": 1733512645,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "town": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:24.928 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.116
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:24.931 [print] Request: {
  "transaction_id": "91b43194-0b96-42a7-96e1-5cc505eaab19",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.115
13:17:24.933 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1530
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "91b43194-0b96-42a7-96e1-5cc505eaab19",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": 1,
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:25.046 response time in milliseconds: 111
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:25",
  "timestamp": 1733512645,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:24.946 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.230
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.006
13:17:24.956 [print] Request: {
  "transaction_id": "8f727b95-c287-417d-abf6-6d9a354960ff",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.223
13:17:24.960 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1572
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "8f727b95-c287-417d-abf6-6d9a354960ff",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "#(java.util.UUID.randomUUID().toString())",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:25.180 response time in milliseconds: 218
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:35 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:25",
  "timestamp": 1733512645,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "city": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:17:24.956 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.002
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.791
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:24.961 [print] Request: {
  "transaction_id": "7c5b576d-5529-4b7b-88cb-0e8d2deb91f2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = "MEX" 0.001
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.789
13:17:24.965 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1534
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7c5b576d-5529-4b7b-88cb-0e8d2deb91f2",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "MEX",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.752 response time in milliseconds: 1786
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7c5b576d-5529-4b7b-88cb-0e8d2deb91f2",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "5"
  },
  "decision_manager": {
    "id": "7335126457546024504982",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Correctable errors in addresses",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:25.052 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.848
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:25.054 [print] Request: {
  "transaction_id": "4a566dfe-a686-477c-8552-06580b49f678",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.848
13:17:25.055 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1531
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "4a566dfe-a686-477c-8552-06580b49f678",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.902 response time in milliseconds: 1844
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "4a566dfe-a686-477c-8552-06580b49f678",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:25.187 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.057
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:25.189 [print] Request: {
  "transaction_id": "71782623-f559-4f60-8973-55a249da1a35",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.057
13:17:25.190 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1533
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "71782623-f559-4f60-8973-55a249da1a35",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": null,
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:27.246 response time in milliseconds: 2056
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "71782623-f559-4f60-8973-55a249da1a35",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:25.935 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.301
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:25.937 [print] Request: {
  "transaction_id": "806d0e9d-17a9-4ad2-97b9-4c72d51fc1f4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.city = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.300
13:17:25.940 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1556
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "806d0e9d-17a9-4ad2-97b9-4c72d51fc1f4",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "2024-11-07T19:36:25-06:00",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.238 response time in milliseconds: 298
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:36 GMT
1 < Content-Type: application/json
1 < Content-Length: 214
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:26",
  "timestamp": 1733512646,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "city": "must contain Spanish letters"
      }
    }
  }
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:26.240 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.088
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.241 [print] Request: {
  "transaction_id": "dc6e2c44-1fa7-4ba4-8e40-0d7eee2a6dcc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = 1 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.087
13:17:26.242 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1545
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "dc6e2c44-1fa7-4ba4-8e40-0d7eee2a6dcc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": 1,
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.329 response time in milliseconds: 86
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:36 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:26",
  "timestamp": 1733512646,
  "message": "invalid body request"
}


Then status 400 0.000
0.000
* url apiURL 0.000
13:17:26.240 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.235
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.241 [print] Request: {
  "transaction_id": "ab4306dc-4dbe-4782-aa3a-a3bd065663bc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.235
13:17:26.242 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1587
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "ab4306dc-4dbe-4782-aa3a-a3bd065663bc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "#(java.util.UUID.randomUUID().toString())",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:26.477 response time in milliseconds: 234
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 222
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:26",
  "timestamp": 1733512646,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:26.336 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.077
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.340 [print] Request: {
  "transaction_id": "7bf03642-a635-4226-a96b-d7d464ee2ecc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.076
13:17:26.342 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "7bf03642-a635-4226-a96b-d7d464ee2ecc",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "EM",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:27.416 response time in milliseconds: 1073
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:38 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "7bf03642-a635-4226-a96b-d7d464ee2ecc",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:26.479 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.705
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.480 [print] Request: {
  "transaction_id": "d16569b1-dfec-4b2a-9a7a-0643cba6968a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.704
13:17:26.482 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "d16569b1-dfec-4b2a-9a7a-0643cba6968a",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:28.185 response time in milliseconds: 1700
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:38 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:28",
  "timestamp": 1733512648,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "d16569b1-dfec-4b2a-9a7a-0643cba6968a",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.002
* url apiURL 0.000
13:17:26.757 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
2.347
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.761 [print] Request: {
  "transaction_id": "b24d931c-bf31-454f-b625-e44259fded4b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 2.346
13:17:26.764 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1548
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b24d931c-bf31-454f-b625-e44259fded4b",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": null,
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:29.107 response time in milliseconds: 2342
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:39 GMT
1 < Content-Type: application/json
1 < Content-Length: 316
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:29",
  "timestamp": 1733512649,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b24d931c-bf31-454f-b625-e44259fded4b",
  "score_movil": {
  },
  "emailage": [
    "No hay informacion disponible"
  ],
  "device_finger": null,
  "decision_manager": null
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:26.908 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.481
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:26.910 [print] Request: {
  "transaction_id": "49ef7e2a-187a-4471-881c-1225d290271e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.country = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.481
13:17:26.911 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1571
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "49ef7e2a-187a-4471-881c-1225d290271e",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "2024-11-07T19:36:25-06:00",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:27.391 response time in milliseconds: 479
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 222
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "country": "must contain English letters only"
      }
    }
  }
}


Then status 400 0.000
0.003
* url apiURL 0.000
13:17:27.251 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.114
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:27.255 [print] Request: {
  "transaction_id": "9a41b959-d321-4061-8c4c-b2bcc7f752ba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = 1 0.005
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.107
13:17:27.265 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1543
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "9a41b959-d321-4061-8c4c-b2bcc7f752ba",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": 1
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:27.369 response time in milliseconds: 104
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:37 GMT
1 < Content-Type: application/json
1 < Content-Length: 127
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "message": "invalid body request"
}


Then status 400 0.000
0.002
* url apiURL 0.000
13:17:27.374 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.224
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:27.377 [print] Request: {
  "transaction_id": "368b9ac2-4447-4773-89ff-347b9c060686",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = '#(java.util.UUID.randomUUID().toString())' 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.223
13:17:27.380 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1585
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "368b9ac2-4447-4773-89ff-347b9c060686",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "#(java.util.UUID.randomUUID().toString())"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:27.601 response time in milliseconds: 220
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:38 GMT
1 < Content-Type: application/json
1 < Content-Length: 234
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:27",
  "timestamp": 1733512647,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000
0.001
* url apiURL 0.000
13:17:27.398 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.001
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.706
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:27.401 [print] Request: {
  "transaction_id": "b89fcf3f-4ed9-4d00-9323-12a04a0518d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = "EM" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.706
13:17:27.403 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "b89fcf3f-4ed9-4d00-9323-12a04a0518d5",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "EM"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:29.107 response time in milliseconds: 1703
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:29",
  "timestamp": 1733512649,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "b89fcf3f-4ed9-4d00-9323-12a04a0518d5",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126481156986504981",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:27.420 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.888
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:27.422 [print] Request: {
  "transaction_id": "81712859-8038-440e-82fa-c16ba96fa6b1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = "" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.888
13:17:27.425 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1544
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "81712859-8038-440e-82fa-c16ba96fa6b1",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": ""
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:29.311 response time in milliseconds: 1885
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:29",
  "timestamp": 1733512649,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "81712859-8038-440e-82fa-c16ba96fa6b1",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "7"
  },
  "decision_manager": {
    "id": "7335126482296032604989",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.000
* url apiURL 0.000
13:17:27.604 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
1.705
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:27.605 [print] Request: {
  "transaction_id": "13fc8bc6-1bc1-4484-bf45-fae6d9d24cfb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = null 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 1.705
13:17:27.607 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1546
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "13fc8bc6-1bc1-4484-bf45-fae6d9d24cfb",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": null
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:29.311 response time in milliseconds: 1703
1 < 200
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:39 GMT
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
1 < X-Robots-Tag: noindex
{
  "status": "success",
  "code_response": 200,
  "datetime": "2024-12-06 19:17:29",
  "timestamp": 1733512649,
  "score": 70,
  "result": -1,
  "code": 2,
  "profile_name": [
    "Perfil De prueba"
  ],
  "id": "13fc8bc6-1bc1-4484-bf45-fae6d9d24cfb",
  "score_movil": {
  },
  "emailage": {
    "billcountryrisky": "No",
    "country": "US",
    "domain_age": "12/09/2004",
    "domain_category": "Education",
    "domain_corporate": "Yes",
    "domain_creation_days": "7301",
    "domain_exists": "Yes",
    "domain_name": "test.com",
    "domain_risk_level": "High",
    "ea_advice": "Moderate Fraud Risk",
    "ea_reason": "Customer Email not Provided",
    "ea_reason_id": "61",
    "ea_risk_band_id": "3",
    "ea_score": "500",
    "email_exists": "Not Sure",
    "first_seen_days": "2",
    "first_verification_date": "12/03/2024",
    "ip_anonymous_detected": "No",
    "ip_country": "Taiwan",
    "ip_reputation": "Good",
    "ip_risk_level": "Moderate",
    "name_match": "U",
    "phone_carrier_name": "Radiomovil Dipsa, S.A. De C.V.",
    "phone_status": "Valid"
  },
  "device_finger": {
    "profile_duration": "6"
  },
  "decision_manager": {
    "id": "7335126483046171504979",
    "merchant_id": "t1pagos_poc",
    "client_reference_information_code": "pedido.1342006618",
    "payment_information_account_type": "Visa Classic",
    "payment_information_account_issuer": "CONOTOXIA SP. Z O.O",
    "risk_information_score": "98",
    "risk_information_model_used": "default",
    "risk_information_profile": {
      "earlyDecision": "ACCEPT",
      "name": "Example",
      "selectorRule": "Prueba Emailage"
    },
    "risk_information_rules": [
      {
        "name": "Account issued outside of billing country",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Billing and/or shipping address not verifiable",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order is above your AFS threshold for reject.",
        "decision": "REJECT",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "CVN not submitted",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside merchant's region",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Order outside the U.S",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Domain Creation Date",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Shipping address different from billing address",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Similarities of this order to recent orders",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Geolocation inconsistencies in order",
        "decision": "REVIEW",
        "executionTiming": "POST_AUTH"
      },
      {
        "name": "Incorrect currency type",
        "decision": "IGNORE",
        "executionTiming": "POST_AUTH"
      }
    ],
    "merchant_data": null,
    "status": "REJECTED"
  }
}


Then status 200 0.000
0.001
* url apiURL 0.000
13:17:28.190 karate.env system property was: null 
* def uuid = java.util.UUID.randomUUID().toString() 0.000
* def requestBody = read('data/evaluations.json') 0.000
* def baseJson = read('data/base.json') 0.000
* def testCases = read('data/cases.json') 0.000
* requestBody.transaction_id = uuid 0.000
0.299
* def peticion = requestBody 0.000
* print 'Request:', peticion 0.000
13:17:28.193 [print] Request: {
  "transaction_id": "20f48929-8f47-4432-914f-9ab80b8d2b81",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "43000"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}
 
* set peticion.payment_method.address.zip_code = "2024-11-07T19:36:25-06:00" 0.000
Given path '/engine/evaluations' 0.000
And request peticion 0.000
When method POST 0.298
13:17:28.194 request:
1 > POST https://beta-api.dev.t1score.com/v1/engine/evaluations
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 1569
1 > Host: beta-api.dev.t1score.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.13)
1 > Accept-Encoding: gzip,deflate
{
  "transaction_id": "20f48929-8f47-4432-914f-9ab80b8d2b81",
  "commerce_id": 2,
  "request": {
    "ipv4": "124.9.51.123",
    "ipv6": "66a7:9c0b:0d0f:55bf:e72a:7a1e:64ba:7466"
  },
  "purchase": {
    "delivery_amount": 1,
    "delivery_service": "UPSs",
    "delivery_tracking": "12346535038485",
    "id": "pedido.1342006618",
    "created": "2024-11-07T19:36:25-06:00",
    "total_items": 1,
    "delivery_date": "2018-11-04T13:05:45+00:00",
    "items_amount": 6861,
    "total_amount": 661,
    "device_fingerprint": "fingerprint.1542006695",
    "shipping_address": {
      "street": "linea 1 dir",
      "external_number": "1",
      "town": "MEX",
      "internal_number": "1A",
      "city": "MEX",
      "state": "EM",
      "country": "MEX",
      "zip_code": "03000"
    },
    "items": [
      {
        "ean_upc": "321",
        "sku": "CFL120NOIPCW3528",
        "name": "Prod_1",
        "quantity": 1,
        "unit_amount": 100
      }
    ]
  },
  "client": {
    "id": "89d66ed1-edd3-4015-9243-a892fbb81dd6",
    "created": "2024-11-07T19:36:25-06:00",
    "name": "juanito",
    "paternal_surname": "Castiyo",
    "maternal_surname": "Castorena",
    "email": "rojo@test.com",
    "phone": {
      "country_code": "52",
      "area_code": "55",
      "number": "14516390"
    },
    "address": {
      "street": "napóles",
      "external_number": "1",
      "internal_number": "1A",
      "town": "ecatepec",
      "city": "ecatepec",
      "state": "EM",
      "country": "MEX",
      "zip_code": "29000"
    }
  },
  "payment_method": {
    "card_token": "903c1b8b-ea1e-4c74-b4fc-1175cbcac958",
    "bin": "411111",
    "expiration_month": "12",
    "expiration_year": "2030",
    "type": "debit card",
    "address": {
      "street": "Avenida 16 de septiembre",
      "external_number": "1",
      "internal_number": "1A",
      "state": "MX",
      "town": "Huejutla de Reyes",
      "city": "union de guadalupe",
      "country": "MEX",
      "zip_code": "2024-11-07T19:36:25-06:00"
    }
  },
  "merchant": {
    "custom_1": "string",
    "custom_2": "string"
  }
}


13:17:28.492 response time in milliseconds: 297
1 < 400
1 < Server: nginx
1 < Date: Fri, 06 Dec 2024 20:42:38 GMT
1 < Content-Type: application/json
1 < Content-Length: 234
1 < Connection: keep-alive
1 < Access-Control-Allow-Headers: Origin, Content-Type
1 < Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
1 < Access-Control-Allow-Origin: *
1 < Strict-Transport-Security: max-age=15724800; includeSubDomains
1 < t1s: sk3-v2
{
  "status": "fail",
  "code_response": 400,
  "datetime": "2024-12-06 19:17:28",
  "timestamp": 1733512648,
  "message": "invalid transaction request",
  "errors": {
    "payment_method": {
      "address": {
        "zip_code": "must contain Spanish letters and digits only"
      }
    }
  }
}


Then status 400 0.000